struct

ScalewayApi::Endpoints::Baremetal::Event

Inherits Struct < Value < Object

Événement sur un serveur (installation, redémarrage, etc.).

Un événement d'installation réussie ressemble à :

{
  "id": "...",
  "action": "install_server",
  "status": "success",
  "updated_at": "2026-04-18T10:45:00Z"
}

Les statuts connus : pending, running, success, error.

Constructors

from_any(payload : JSON::Any) : Event
Source
new(id : String, raw : JSON::Any, action : String | Nil = nil, status : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil)
Source

Instance methods

action
Source
created_at
Source
failed?
Source
status
Source
success?
Source
updated_at
Source