struct

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cpu=(cpu : Float64)
Source
created_at
Source
created_at=(created_at : Time)
Source
host
Source
host=(host : String)
Source
id=(id : String)
Source
is_ha
Source
is_ha=(is_ha : Bool)
Source
maintenance_window_start
Source
maintenance_window_start=(maintenance_window_start : Int32 | Nil)
Source
major_version
Source
major_version=(major_version : Int32)
Source
memory
Source
memory=(memory : Float64)
Source
name
Source
name=(name : String)
Source
network_id
Source
network_id=(network_id : String | Nil)
Source
plan_id
Source
plan_id=(plan_id : String)
Source
provider_id
Source
provider_id=(provider_id : String)
Source
region_id
Source
region_id=(region_id : String)
Source
replicas
Source
replicas=(replicas : Array(Cluster) | Nil)
Source
source_cluster_id
Source
source_cluster_id=(source_cluster_id : String | Nil)
Source
storage
Source
storage=(storage : Int32)
Source
tailscale_active
Source
tailscale_active=(tailscale_active : Bool)
Source
team_id
Source
team_id=(team_id : String)
Source