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.
-
#storage_policy_name ⇒ String
The name of the vCenter storage policy.
-
#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.
5139 5140 5141 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5139 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
5127 5128 5129 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5127 def datastore @datastore end |
#storage_policy_name ⇒ String
The name of the vCenter storage policy. Inherited from the user cluster.
Corresponds to the JSON property storagePolicyName
5132 5133 5134 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5132 def storage_policy_name @storage_policy_name end |
#tags ⇒ Array<Google::Apis::GkeonpremV1::VmwareVsphereTag>
Tags to apply to VMs.
Corresponds to the JSON property tags
5137 5138 5139 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5137 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5144 5145 5146 5147 5148 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5144 def update!(**args) @datastore = args[:datastore] if args.key?(:datastore) @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name) @tags = args[:tags] if args.key?(:tags) end |