Class: Google::Apis::GkeonpremV1::VmwareAdminCluster

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

Resource that represents a VMware admin cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminCluster

Returns a new instance of VmwareAdminCluster.



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

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

Instance Attribute Details

#addon_nodeGoogle::Apis::GkeonpremV1::VmwareAdminAddonNodeConfig

VmwareAdminAddonNodeConfig contains add-on node configurations for VMware admin cluster. Corresponds to the JSON property addonNode



3694
3695
3696
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3694

def addon_node
  @addon_node
end

#annotationsHash<String,String>

Annotations on the VMware admin cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required) , separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. Corresponds to the JSON property annotations

Returns:

  • (Hash<String,String>)


3704
3705
3706
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3704

def annotations
  @annotations
end

#anti_affinity_groupsGoogle::Apis::GkeonpremV1::VmwareAagConfig

Specifies anti affinity group config for the VMware user cluster. Corresponds to the JSON property antiAffinityGroups



3709
3710
3711
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3709

def anti_affinity_groups
  @anti_affinity_groups
end

#authorizationGoogle::Apis::GkeonpremV1::VmwareAdminAuthorizationConfig

VmwareAdminAuthorizationConfig represents configuration for admin cluster authorization. Corresponds to the JSON property authorization



3715
3716
3717
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3715

def authorization
  @authorization
end

#auto_repair_configGoogle::Apis::GkeonpremV1::VmwareAutoRepairConfig

Specifies config to enable/disable auto repair. The cluster-health-controller is deployed only if Enabled is true. Corresponds to the JSON property autoRepairConfig



3721
3722
3723
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3721

def auto_repair_config
  @auto_repair_config
end

#bootstrap_cluster_membershipString

The bootstrap cluster this VMware admin cluster belongs to. Corresponds to the JSON property bootstrapClusterMembership

Returns:

  • (String)


3726
3727
3728
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3726

def bootstrap_cluster_membership
  @bootstrap_cluster_membership
end

#control_plane_nodeGoogle::Apis::GkeonpremV1::VmwareAdminControlPlaneNodeConfig

VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster. Corresponds to the JSON property controlPlaneNode



3732
3733
3734
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3732

def control_plane_node
  @control_plane_node
end

#create_timeString

Output only. The time at which VMware admin cluster was created. Corresponds to the JSON property createTime

Returns:

  • (String)


3737
3738
3739
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3737

def create_time
  @create_time
end

#descriptionString

A human readable description of this VMware admin cluster. Corresponds to the JSON property description

Returns:

  • (String)


3742
3743
3744
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3742

def description
  @description
end

#endpointString

Output only. The DNS name of VMware admin cluster's API server. Corresponds to the JSON property endpoint

Returns:

  • (String)


3747
3748
3749
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3747

def endpoint
  @endpoint
end

#etagString

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up- to-date value before proceeding. Allows clients to perform consistent read- modify-writes through optimistic concurrency control. Corresponds to the JSON property etag

Returns:

  • (String)


3755
3756
3757
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3755

def etag
  @etag
end

#fleetGoogle::Apis::GkeonpremV1::Fleet

Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets for more details on Anthos multi-cluster capabilities using Fleets. ## Corresponds to the JSON property fleet



3764
3765
3766
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3764

def fleet
  @fleet
end

#image_typeString

The OS image type for the VMware admin cluster. Corresponds to the JSON property imageType

Returns:

  • (String)


3769
3770
3771
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3769

def image_type
  @image_type
end

#load_balancerGoogle::Apis::GkeonpremV1::VmwareAdminLoadBalancerConfig

VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware admin cluster. Corresponds to the JSON property loadBalancer



3775
3776
3777
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3775

def load_balancer
  @load_balancer
end

#local_nameString

Output only. The object name of the VMware OnPremAdminCluster custom resource. This field is used to support conflicting names when enrolling existing clusters to the API. When used as a part of cluster enrollment, this field will differ from the ID in the resource name. For new clusters, this field will match the user provided cluster name and be visible in the last component of the resource name. It is not modifiable. All users should use this name to access their cluster using gkectl or kubectl and should expect to see the local name when viewing admin cluster controller logs. Corresponds to the JSON property localName

Returns:

  • (String)


3787
3788
3789
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3787

def local_name
  @local_name
end

#nameString

Immutable. The VMware admin cluster resource name. Corresponds to the JSON property name

Returns:

  • (String)


3792
3793
3794
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3792

def name
  @name
end

#network_configGoogle::Apis::GkeonpremV1::VmwareAdminNetworkConfig

VmwareAdminNetworkConfig contains network configuration for VMware admin cluster. Corresponds to the JSON property networkConfig



3798
3799
3800
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3798

def network_config
  @network_config
end

#on_prem_versionString

The Anthos clusters on the VMware version for the admin cluster. Corresponds to the JSON property onPremVersion

Returns:

  • (String)


3803
3804
3805
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3803

def on_prem_version
  @on_prem_version
end

#platform_configGoogle::Apis::GkeonpremV1::VmwarePlatformConfig

VmwarePlatformConfig represents configuration for the VMware platform. Corresponds to the JSON property platformConfig



3808
3809
3810
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3808

def platform_config
  @platform_config
end

#prepared_secretsGoogle::Apis::GkeonpremV1::VmwareAdminPreparedSecretsConfig

VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets. Corresponds to the JSON property preparedSecrets



3814
3815
3816
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3814

def prepared_secrets
  @prepared_secrets
end

#reconcilingBoolean Also known as: reconciling?

Output only. If set, there are currently changes in flight to the VMware admin cluster. Corresponds to the JSON property reconciling

Returns:

  • (Boolean)


3820
3821
3822
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3820

def reconciling
  @reconciling
end

#stateString

Output only. The current state of VMware admin cluster. Corresponds to the JSON property state

Returns:

  • (String)


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

def state
  @state
end

#statusGoogle::Apis::GkeonpremV1::ResourceStatus

ResourceStatus describes why a cluster or node pool has a certain status. (e.g. , ERROR or DEGRADED). Corresponds to the JSON property status



3832
3833
3834
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3832

def status
  @status
end

#uidString

Output only. The unique identifier of the VMware admin cluster. Corresponds to the JSON property uid

Returns:

  • (String)


3837
3838
3839
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3837

def uid
  @uid
end

#update_timeString

Output only. The time at which VMware admin cluster was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


3842
3843
3844
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3842

def update_time
  @update_time
end

#vcenterGoogle::Apis::GkeonpremV1::VmwareAdminVCenterConfig

VmwareAdminVCenterConfig contains VCenter configuration for VMware admin cluster. Corresponds to the JSON property vcenter



3848
3849
3850
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3848

def vcenter
  @vcenter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3855

def update!(**args)
  @addon_node = args[:addon_node] if args.key?(:addon_node)
  @annotations = args[:annotations] if args.key?(:annotations)
  @anti_affinity_groups = args[:anti_affinity_groups] if args.key?(:anti_affinity_groups)
  @authorization = args[:authorization] if args.key?(:authorization)
  @auto_repair_config = args[:auto_repair_config] if args.key?(:auto_repair_config)
  @bootstrap_cluster_membership = args[:bootstrap_cluster_membership] if args.key?(:bootstrap_cluster_membership)
  @control_plane_node = args[:control_plane_node] if args.key?(:control_plane_node)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @etag = args[:etag] if args.key?(:etag)
  @fleet = args[:fleet] if args.key?(:fleet)
  @image_type = args[:image_type] if args.key?(:image_type)
  @load_balancer = args[:load_balancer] if args.key?(:load_balancer)
  @local_name = args[:local_name] if args.key?(:local_name)
  @name = args[:name] if args.key?(:name)
  @network_config = args[:network_config] if args.key?(:network_config)
  @on_prem_version = args[:on_prem_version] if args.key?(:on_prem_version)
  @platform_config = args[:platform_config] if args.key?(:platform_config)
  @prepared_secrets = args[:prepared_secrets] if args.key?(:prepared_secrets)
  @reconciling = args[:reconciling] if args.key?(:reconciling)
  @state = args[:state] if args.key?(:state)
  @status = args[:status] if args.key?(:status)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vcenter = args[:vcenter] if args.key?(:vcenter)
end