Class: Google::Apis::GkeonpremV1::VmwareAdminVCenterConfig

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
more...

Overview

VmwareAdminVCenterConfig contains VCenter configuration for VMware admin cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminVCenterConfig

Returns a new instance of VmwareAdminVCenterConfig.

[View source]

4374
4375
4376
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4374

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

Instance Attribute Details

#addressString

The vCenter IP address. Corresponds to the JSON property address

Returns:

  • (String)

4332
4333
4334
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4332

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)

4337
4338
4339
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4337

def ca_cert_data
  @ca_cert_data
end

#clusterString

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

Returns:

  • (String)

4342
4343
4344
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4342

def cluster
  @cluster
end

#data_diskString

The name of the virtual machine disk (VMDK) for the admin cluster. Corresponds to the JSON property dataDisk

Returns:

  • (String)

4347
4348
4349
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4347

def data_disk
  @data_disk
end

#datacenterString

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

Returns:

  • (String)

4352
4353
4354
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4352

def datacenter
  @datacenter
end

#datastoreString

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

Returns:

  • (String)

4357
4358
4359
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4357

def datastore
  @datastore
end

#folderString

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

Returns:

  • (String)

4362
4363
4364
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4362

def folder
  @folder
end

#resource_poolString

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

Returns:

  • (String)

4367
4368
4369
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4367

def resource_pool
  @resource_pool
end

#storage_policy_nameString

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

Returns:

  • (String)

4372
4373
4374
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4372

def storage_policy_name
  @storage_policy_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4379

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)
  @data_disk = args[:data_disk] if args.key?(:data_disk)
  @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