Class: Google::Apis::GkeonpremV1::VmwareVCenterConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareVCenterConfig

Returns a new instance of VmwareVCenterConfig.



5272
5273
5274
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5272

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#addressString

The vCenter IP address. Corresponds to the JSON property address

Returns:

  • (String)


5240
5241
5242
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5240

def address
  @address
end

#ca_cert_dataString

Contains the vCenter CA certificate public key for SSL verification. Corresponds to the JSON property caCertData

Returns:

  • (String)


5245
5246
5247
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5245

def ca_cert_data
  @ca_cert_data
end

#clusterString

The name of the vCenter cluster for the user cluster. Corresponds to the JSON property cluster

Returns:

  • (String)


5250
5251
5252
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5250

def cluster
  @cluster
end

#datacenterString

The name of the vCenter datacenter for the user cluster. Corresponds to the JSON property datacenter

Returns:

  • (String)


5255
5256
5257
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5255

def datacenter
  @datacenter
end

#datastoreString

The name of the vCenter datastore for the user cluster. Corresponds to the JSON property datastore

Returns:

  • (String)


5260
5261
5262
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5260

def datastore
  @datastore
end

#folderString

The name of the vCenter folder for the user cluster. Corresponds to the JSON property folder

Returns:

  • (String)


5265
5266
5267
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5265

def folder
  @folder
end

#resource_poolString

The name of the vCenter resource pool for the user cluster. Corresponds to the JSON property resourcePool

Returns:

  • (String)


5270
5271
5272
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5270

def resource_pool
  @resource_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5277
5278
5279
5280
5281
5282
5283
5284
5285
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5277

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