Class: Google::Apis::GkeonpremV1::VmwareControlPlaneNodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareControlPlaneNodeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
Specifies control plane node config for the VMware user cluster.
Instance Attribute Summary collapse
-
#auto_resize_config ⇒ Google::Apis::GkeonpremV1::VmwareAutoResizeConfig
Represents auto resizing configurations for the VMware user cluster.
-
#cpus ⇒ Fixnum
The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster.
-
#memory ⇒ Fixnum
The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
-
#replicas ⇒ Fixnum
The number of control plane nodes for this VMware user cluster.
-
#vsphere_config ⇒ Google::Apis::GkeonpremV1::VmwareControlPlaneVsphereConfig
Specifies control plane node config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareControlPlaneNodeConfig
constructor
A new instance of VmwareControlPlaneNodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareControlPlaneNodeConfig
Returns a new instance of VmwareControlPlaneNodeConfig.
4223 4224 4225 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_resize_config ⇒ Google::Apis::GkeonpremV1::VmwareAutoResizeConfig
Represents auto resizing configurations for the VMware user cluster.
Corresponds to the JSON property autoResizeConfig
4198 4199 4200 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4198 def auto_resize_config @auto_resize_config end |
#cpus ⇒ Fixnum
The number of CPUs for each admin cluster node that serve as control planes
for this VMware user cluster. (default: 4 CPUs)
Corresponds to the JSON property cpus
4204 4205 4206 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4204 def cpus @cpus end |
#memory ⇒ Fixnum
The megabytes of memory for each admin cluster node that serves as a control
plane for this VMware user cluster (default: 8192 MB memory).
Corresponds to the JSON property memory
4210 4211 4212 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4210 def memory @memory end |
#replicas ⇒ Fixnum
The number of control plane nodes for this VMware user cluster. (default: 1
replica).
Corresponds to the JSON property replicas
4216 4217 4218 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4216 def replicas @replicas end |
#vsphere_config ⇒ Google::Apis::GkeonpremV1::VmwareControlPlaneVsphereConfig
Specifies control plane node config.
Corresponds to the JSON property vsphereConfig
4221 4222 4223 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4221 def vsphere_config @vsphere_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4228 4229 4230 4231 4232 4233 4234 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4228 def update!(**args) @auto_resize_config = args[:auto_resize_config] if args.key?(:auto_resize_config) @cpus = args[:cpus] if args.key?(:cpus) @memory = args[:memory] if args.key?(:memory) @replicas = args[:replicas] if args.key?(:replicas) @vsphere_config = args[:vsphere_config] if args.key?(:vsphere_config) end |