Class: Google::Apis::GkeonpremV1::VmwareAdminCluster
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareAdminCluster
- 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
-
#addon_node ⇒ Google::Apis::GkeonpremV1::VmwareAdminAddonNodeConfig
VmwareAdminAddonNodeConfig contains add-on node configurations for VMware admin cluster.
-
#annotations ⇒ Hash<String,String>
Annotations on the VMware admin cluster.
-
#anti_affinity_groups ⇒ Google::Apis::GkeonpremV1::VmwareAagConfig
Specifies anti affinity group config for the VMware user cluster.
-
#authorization ⇒ Google::Apis::GkeonpremV1::VmwareAdminAuthorizationConfig
VmwareAdminAuthorizationConfig represents configuration for admin cluster authorization.
-
#auto_repair_config ⇒ Google::Apis::GkeonpremV1::VmwareAutoRepairConfig
Specifies config to enable/disable auto repair.
-
#bootstrap_cluster_membership ⇒ String
The bootstrap cluster this VMware admin cluster belongs to.
-
#control_plane_node ⇒ Google::Apis::GkeonpremV1::VmwareAdminControlPlaneNodeConfig
VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
A human readable description of this VMware admin cluster.
-
#enable_advanced_cluster ⇒ Boolean
(also: #enable_advanced_cluster?)
Enable advanced cluster.
-
#endpoint ⇒ String
Output only.
-
#etag ⇒ String
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.
-
#fleet ⇒ Google::Apis::GkeonpremV1::Fleet
Fleet related configuration.
-
#image_type ⇒ String
The OS image type for the VMware admin cluster.
-
#load_balancer ⇒ Google::Apis::GkeonpremV1::VmwareAdminLoadBalancerConfig
VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware admin cluster.
-
#local_name ⇒ String
Output only.
-
#name ⇒ String
Immutable.
-
#network_config ⇒ Google::Apis::GkeonpremV1::VmwareAdminNetworkConfig
VmwareAdminNetworkConfig contains network configuration for VMware admin cluster.
-
#on_prem_version ⇒ String
The Anthos clusters on the VMware version for the admin cluster.
-
#platform_config ⇒ Google::Apis::GkeonpremV1::VmwarePlatformConfig
VmwarePlatformConfig represents configuration for the VMware platform.
-
#prepared_secrets ⇒ Google::Apis::GkeonpremV1::VmwareAdminPreparedSecretsConfig
VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets.
-
#private_registry_config ⇒ Google::Apis::GkeonpremV1::VmwareAdminPrivateRegistryConfig
VmwareAdminPrivateRegistryConfig represents configuration for admin cluster registry.
-
#proxy ⇒ Google::Apis::GkeonpremV1::VmwareAdminProxy
VmwareAdminProxy represents configuration for admin cluster proxy.
-
#reconciling ⇒ Boolean
(also: #reconciling?)
Output only.
-
#state ⇒ String
Output only.
-
#status ⇒ Google::Apis::GkeonpremV1::ResourceStatus
ResourceStatus describes why a cluster or node pool has a certain status.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#validation_check ⇒ Google::Apis::GkeonpremV1::ValidationCheck
ValidationCheck represents the result of preflight check.
-
#vcenter ⇒ Google::Apis::GkeonpremV1::VmwareAdminVCenterConfig
VmwareAdminVCenterConfig contains VCenter configuration for VMware admin cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareAdminCluster
constructor
A new instance of VmwareAdminCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareAdminCluster
Returns a new instance of VmwareAdminCluster.
4144 4145 4146 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#addon_node ⇒ Google::Apis::GkeonpremV1::VmwareAdminAddonNodeConfig
VmwareAdminAddonNodeConfig contains add-on node configurations for VMware
admin cluster.
Corresponds to the JSON property addonNode
3966 3967 3968 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3966 def addon_node @addon_node end |
#annotations ⇒ Hash<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
3976 3977 3978 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3976 def annotations @annotations end |
#anti_affinity_groups ⇒ Google::Apis::GkeonpremV1::VmwareAagConfig
Specifies anti affinity group config for the VMware user cluster.
Corresponds to the JSON property antiAffinityGroups
3981 3982 3983 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3981 def anti_affinity_groups @anti_affinity_groups end |
#authorization ⇒ Google::Apis::GkeonpremV1::VmwareAdminAuthorizationConfig
VmwareAdminAuthorizationConfig represents configuration for admin cluster
authorization.
Corresponds to the JSON property authorization
3987 3988 3989 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3987 def @authorization end |
#auto_repair_config ⇒ Google::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
3993 3994 3995 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3993 def auto_repair_config @auto_repair_config end |
#bootstrap_cluster_membership ⇒ String
The bootstrap cluster this VMware admin cluster belongs to.
Corresponds to the JSON property bootstrapClusterMembership
3998 3999 4000 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3998 def bootstrap_cluster_membership @bootstrap_cluster_membership end |
#control_plane_node ⇒ Google::Apis::GkeonpremV1::VmwareAdminControlPlaneNodeConfig
VmwareAdminControlPlaneNodeConfig contains control plane node configuration
for VMware admin cluster.
Corresponds to the JSON property controlPlaneNode
4004 4005 4006 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4004 def control_plane_node @control_plane_node end |
#create_time ⇒ String
Output only. The time at which VMware admin cluster was created.
Corresponds to the JSON property createTime
4009 4010 4011 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4009 def create_time @create_time end |
#description ⇒ String
A human readable description of this VMware admin cluster.
Corresponds to the JSON property description
4014 4015 4016 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4014 def description @description end |
#enable_advanced_cluster ⇒ Boolean Also known as: enable_advanced_cluster?
Enable advanced cluster.
Corresponds to the JSON property enableAdvancedCluster
4019 4020 4021 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4019 def enable_advanced_cluster @enable_advanced_cluster end |
#endpoint ⇒ String
Output only. The DNS name of VMware admin cluster's API server.
Corresponds to the JSON property endpoint
4025 4026 4027 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4025 def endpoint @endpoint end |
#etag ⇒ String
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
4033 4034 4035 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4033 def etag @etag end |
#fleet ⇒ Google::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
4042 4043 4044 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4042 def fleet @fleet end |
#image_type ⇒ String
The OS image type for the VMware admin cluster.
Corresponds to the JSON property imageType
4047 4048 4049 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4047 def image_type @image_type end |
#load_balancer ⇒ Google::Apis::GkeonpremV1::VmwareAdminLoadBalancerConfig
VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware
admin cluster.
Corresponds to the JSON property loadBalancer
4053 4054 4055 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4053 def load_balancer @load_balancer end |
#local_name ⇒ String
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
4065 4066 4067 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4065 def local_name @local_name end |
#name ⇒ String
Immutable. The VMware admin cluster resource name.
Corresponds to the JSON property name
4070 4071 4072 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4070 def name @name end |
#network_config ⇒ Google::Apis::GkeonpremV1::VmwareAdminNetworkConfig
VmwareAdminNetworkConfig contains network configuration for VMware admin
cluster.
Corresponds to the JSON property networkConfig
4076 4077 4078 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4076 def network_config @network_config end |
#on_prem_version ⇒ String
The Anthos clusters on the VMware version for the admin cluster.
Corresponds to the JSON property onPremVersion
4081 4082 4083 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4081 def on_prem_version @on_prem_version end |
#platform_config ⇒ Google::Apis::GkeonpremV1::VmwarePlatformConfig
VmwarePlatformConfig represents configuration for the VMware platform.
Corresponds to the JSON property platformConfig
4086 4087 4088 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4086 def platform_config @platform_config end |
#prepared_secrets ⇒ Google::Apis::GkeonpremV1::VmwareAdminPreparedSecretsConfig
VmwareAdminPreparedSecretsConfig represents configuration for admin cluster
prepared secrets.
Corresponds to the JSON property preparedSecrets
4092 4093 4094 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4092 def prepared_secrets @prepared_secrets end |
#private_registry_config ⇒ Google::Apis::GkeonpremV1::VmwareAdminPrivateRegistryConfig
VmwareAdminPrivateRegistryConfig represents configuration for admin cluster
registry.
Corresponds to the JSON property privateRegistryConfig
4098 4099 4100 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4098 def private_registry_config @private_registry_config end |
#proxy ⇒ Google::Apis::GkeonpremV1::VmwareAdminProxy
VmwareAdminProxy represents configuration for admin cluster proxy.
Corresponds to the JSON property proxy
4103 4104 4105 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4103 def proxy @proxy end |
#reconciling ⇒ Boolean 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
4109 4110 4111 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4109 def reconciling @reconciling end |
#state ⇒ String
Output only. The current state of VMware admin cluster.
Corresponds to the JSON property state
4115 4116 4117 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4115 def state @state end |
#status ⇒ Google::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
4121 4122 4123 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4121 def status @status end |
#uid ⇒ String
Output only. The unique identifier of the VMware admin cluster.
Corresponds to the JSON property uid
4126 4127 4128 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4126 def uid @uid end |
#update_time ⇒ String
Output only. The time at which VMware admin cluster was last updated.
Corresponds to the JSON property updateTime
4131 4132 4133 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4131 def update_time @update_time end |
#validation_check ⇒ Google::Apis::GkeonpremV1::ValidationCheck
ValidationCheck represents the result of preflight check.
Corresponds to the JSON property validationCheck
4136 4137 4138 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4136 def validation_check @validation_check end |
#vcenter ⇒ Google::Apis::GkeonpremV1::VmwareAdminVCenterConfig
VmwareAdminVCenterConfig contains VCenter configuration for VMware admin
cluster.
Corresponds to the JSON property vcenter
4142 4143 4144 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4142 def vcenter @vcenter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4149 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) @enable_advanced_cluster = args[:enable_advanced_cluster] if args.key?(:enable_advanced_cluster) @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) @private_registry_config = args[:private_registry_config] if args.key?(:private_registry_config) @proxy = args[:proxy] if args.key?(:proxy) @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) @validation_check = args[:validation_check] if args.key?(:validation_check) @vcenter = args[:vcenter] if args.key?(:vcenter) end |