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

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.

[View source]

5622
5623
5624
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5622

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

Instance Attribute Details

#addressString

Output only. The vCenter IP address. Corresponds to the JSON property address

Returns:

  • (String)

5585
5586
5587
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5585

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)

5590
5591
5592
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5590

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)

5595
5596
5597
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5595

def cluster
  @cluster
end

#datacenterString

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

Returns:

  • (String)

5600
5601
5602
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5600

def datacenter
  @datacenter
end

#datastoreString

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

Returns:

  • (String)

5605
5606
5607
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5605

def datastore
  @datastore
end

#folderString

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

Returns:

  • (String)

5610
5611
5612
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5610

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)

5615
5616
5617
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5615

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)

5620
5621
5622
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5620

def storage_policy_name
  @storage_policy_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5627

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