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

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.



3862
3863
3864
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3862

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

Instance Attribute Details

#addressString

The vCenter IP address. Corresponds to the JSON property address

Returns:

  • (String)


3825
3826
3827
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3825

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)


3830
3831
3832
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3830

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)


3835
3836
3837
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3835

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)


3840
3841
3842
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3840

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)


3845
3846
3847
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3845

def datacenter
  @datacenter
end

#datastoreString

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

Returns:

  • (String)


3850
3851
3852
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3850

def datastore
  @datastore
end

#folderString

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

Returns:

  • (String)


3855
3856
3857
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3855

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)


3860
3861
3862
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3860

def resource_pool
  @resource_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3867

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)
end