Class: Google::Apis::GkeonpremV1::VmwareAdminControlPlaneNodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareAdminControlPlaneNodeConfig
- 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
VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster.
Instance Attribute Summary collapse
-
#cpus ⇒ Fixnum
The number of vCPUs for the control-plane node of the admin cluster.
-
#memory ⇒ Fixnum
The number of mebibytes of memory for the control-plane node of the admin cluster.
-
#replicas ⇒ Fixnum
The number of control plane nodes for this VMware admin cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareAdminControlPlaneNodeConfig
constructor
A new instance of VmwareAdminControlPlaneNodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareAdminControlPlaneNodeConfig
Returns a new instance of VmwareAdminControlPlaneNodeConfig.
3882 3883 3884 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cpus ⇒ Fixnum
The number of vCPUs for the control-plane node of the admin cluster.
Corresponds to the JSON property cpus
3868 3869 3870 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3868 def cpus @cpus end |
#memory ⇒ Fixnum
The number of mebibytes of memory for the control-plane node of the admin
cluster.
Corresponds to the JSON property memory
3874 3875 3876 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3874 def memory @memory end |
#replicas ⇒ Fixnum
The number of control plane nodes for this VMware admin cluster. (default: 1
replica).
Corresponds to the JSON property replicas
3880 3881 3882 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3880 def replicas @replicas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3887 3888 3889 3890 3891 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3887 def update!(**args) @cpus = args[:cpus] if args.key?(:cpus) @memory = args[:memory] if args.key?(:memory) @replicas = args[:replicas] if args.key?(:replicas) end |