Class: Google::Apis::GkeonpremV1::VmwareVCenterConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareVCenterConfig
- 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
Represents configuration for the VMware VCenter for the user cluster.
Instance Attribute Summary collapse
-
#address ⇒ String
The vCenter IP address.
-
#ca_cert_data ⇒ String
Contains the vCenter CA certificate public key for SSL verification.
-
#cluster ⇒ String
The name of the vCenter cluster for the user cluster.
-
#datacenter ⇒ String
The name of the vCenter datacenter for the user cluster.
-
#datastore ⇒ String
The name of the vCenter datastore for the user cluster.
-
#folder ⇒ String
The name of the vCenter folder for the user cluster.
-
#resource_pool ⇒ String
The name of the vCenter resource pool for the user cluster.
-
#storage_policy_name ⇒ String
The name of the vCenter storage policy for the user cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareVCenterConfig
constructor
A new instance of VmwareVCenterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareVCenterConfig
Returns a new instance of VmwareVCenterConfig.
5040 5041 5042 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5040 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
The vCenter IP address.
Corresponds to the JSON property address
5003 5004 5005 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5003 def address @address end |
#ca_cert_data ⇒ String
Contains the vCenter CA certificate public key for SSL verification.
Corresponds to the JSON property caCertData
5008 5009 5010 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5008 def ca_cert_data @ca_cert_data end |
#cluster ⇒ String
The name of the vCenter cluster for the user cluster.
Corresponds to the JSON property cluster
5013 5014 5015 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5013 def cluster @cluster end |
#datacenter ⇒ String
The name of the vCenter datacenter for the user cluster.
Corresponds to the JSON property datacenter
5018 5019 5020 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5018 def datacenter @datacenter end |
#datastore ⇒ String
The name of the vCenter datastore for the user cluster.
Corresponds to the JSON property datastore
5023 5024 5025 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5023 def datastore @datastore end |
#folder ⇒ String
The name of the vCenter folder for the user cluster.
Corresponds to the JSON property folder
5028 5029 5030 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5028 def folder @folder end |
#resource_pool ⇒ String
The name of the vCenter resource pool for the user cluster.
Corresponds to the JSON property resourcePool
5033 5034 5035 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5033 def resource_pool @resource_pool end |
#storage_policy_name ⇒ String
The name of the vCenter storage policy for the user cluster.
Corresponds to the JSON property storagePolicyName
5038 5039 5040 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5038 def storage_policy_name @storage_policy_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5045 def update!(**args) @address = args[:address] if args.key?(:address) @ca_cert_data = args[:ca_cert_data] if args.key?(:ca_cert_data) @cluster = args[:cluster] if args.key?(:cluster) @datacenter = args[:datacenter] if args.key?(:datacenter) @datastore = args[:datastore] if args.key?(:datastore) @folder = args[:folder] if args.key?(:folder) @resource_pool = args[:resource_pool] if args.key?(:resource_pool) @storage_policy_name = args[:storage_policy_name] if args.key?(:storage_policy_name) end |