struct

GarmProvider::ProviderInstance

Inherits JSON::Serializable < Struct < Value < Object

ProviderInstance is the structure returned by CreateInstance, GetInstance, and ListInstances.

Constructors

new(provider_id : String = "", name : String = "", os_type : String = "", os_name : String = "", os_version : String = "", os_arch : String = "", addresses : Array(GarmProvider::Address) = [] of Address, status : GarmProvider::InstanceStatus = InstanceStatus::Unknown, provider_fault : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

addresses
Source
addresses=(addresses : Array(Address))
Source
name
Source
name=(name : String)
Source
os_arch
Source
os_arch=(os_arch : String)
Source
os_name
Source
os_name=(os_name : String)
Source
os_type
Source
os_type=(os_type : String)
Source
os_version
Source
os_version=(os_version : String)
Source
provider_fault
Source
provider_fault=(provider_fault : String)
Source
provider_id
Source
provider_id=(provider_id : String)
Source
status
Source
status=(status : InstanceStatus)
Source