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.
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.
4964 4965 4966 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
The vCenter IP address.
Corresponds to the JSON property address
4932 4933 4934 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4932 def address @address end |
#ca_cert_data ⇒ String
Contains the vCenter CA certificate public key for SSL verification.
Corresponds to the JSON property caCertData
4937 4938 4939 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4937 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
4942 4943 4944 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4942 def cluster @cluster end |
#datacenter ⇒ String
The name of the vCenter datacenter for the user cluster.
Corresponds to the JSON property datacenter
4947 4948 4949 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4947 def datacenter @datacenter end |
#datastore ⇒ String
The name of the vCenter datastore for the user cluster.
Corresponds to the JSON property datastore
4952 4953 4954 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4952 def datastore @datastore end |
#folder ⇒ String
The name of the vCenter folder for the user cluster.
Corresponds to the JSON property folder
4957 4958 4959 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4957 def folder @folder end |
#resource_pool ⇒ String
The name of the vCenter resource pool for the user cluster.
Corresponds to the JSON property resourcePool
4962 4963 4964 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4962 def resource_pool @resource_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4969 4970 4971 4972 4973 4974 4975 4976 4977 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4969 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) end |