Class: Google::Apis::GkeonpremV1::VmwareVsphereConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareVsphereConfig
- 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
VmwareVsphereConfig represents configuration for the VMware VCenter for node pool.
Instance Attribute Summary collapse
-
#datastore ⇒ String
The name of the vCenter datastore.
-
#host_groups ⇒ Array<String>
Vsphere host groups to apply to all VMs in the node pool Corresponds to the JSON property
hostGroups. -
#tags ⇒ Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>
Tags to apply to VMs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareVsphereConfig
constructor
A new instance of VmwareVsphereConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareVsphereConfig
Returns a new instance of VmwareVsphereConfig.
5575 5576 5577 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datastore ⇒ String
The name of the vCenter datastore. Inherited from the user cluster.
Corresponds to the JSON property datastore
5563 5564 5565 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5563 def datastore @datastore end |
#host_groups ⇒ Array<String>
Vsphere host groups to apply to all VMs in the node pool
Corresponds to the JSON property hostGroups
5568 5569 5570 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5568 def host_groups @host_groups end |
#tags ⇒ Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>
Tags to apply to VMs.
Corresponds to the JSON property tags
5573 5574 5575 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5573 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5580 5581 5582 5583 5584 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5580 def update!(**args) @datastore = args[:datastore] if args.key?(:datastore) @host_groups = args[:host_groups] if args.key?(:host_groups) @tags = args[:tags] if args.key?(:tags) end |