CB::Model::Cluster
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(id : String, name : String, team_id : String, cpu : Float64 = 0.0, created_at : Time = Time::ZERO, host : String = "", is_ha : Bool = false, maintenance_window_start : Int32 | Nil = nil, major_version : Int32 = 0, memory : Float64 = 0, network_id : Nil | String = nil, plan_id : String = "", provider_id : String = "", region_id : String = "", replicas : Nil | Array(CB::Model::Cluster) = nil, source_cluster_id : Nil | String = nil, storage : Int32 = 0, tailscale_active : Bool = false)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cpu
Sourcecpu=(cpu : Float64)
Sourcecreated_at
Sourcehost
Sourcehost=(host : String)
Sourceid
Sourceid=(id : String)
Sourceis_ha
Sourceis_ha=(is_ha : Bool)
Sourcemaintenance_window_start
Sourcemaintenance_window_start=(maintenance_window_start : Int32 | Nil)
Sourcemajor_version
Sourcemajor_version=(major_version : Int32)
Sourcememory
Sourcememory=(memory : Float64)
Sourcename
Sourcename=(name : String)
Sourcenetwork_id
Sourcenetwork_id=(network_id : String | Nil)
Sourceplan_id
Sourceplan_id=(plan_id : String)
Sourceprovider_id
Sourceprovider_id=(provider_id : String)
Sourceregion_id
Sourceregion_id=(region_id : String)
Sourcereplicas
Sourcereplicas=(replicas : Array(Cluster) | Nil)
Sourcesource_cluster_id
Sourcesource_cluster_id=(source_cluster_id : String | Nil)
Sourcestorage
Sourcestorage=(storage : Int32)
Sourcetailscale_active
Sourcetailscale_active=(tailscale_active : Bool)
Sourceteam_id
Sourceteam_id=(team_id : String)
Source