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.
-
#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.
-
#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.
-
#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.
-
#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.
3631 3632 3633 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3631 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
3487 3488 3489 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3487 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
3497 3498 3499 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3497 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
3502 3503 3504 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3502 def anti_affinity_groups @anti_affinity_groups 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
3508 3509 3510 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3508 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
3513 3514 3515 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3513 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
3519 3520 3521 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3519 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
3524 3525 3526 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3524 def create_time @create_time end |
#description ⇒ String
A human readable description of this VMware admin cluster.
Corresponds to the JSON property description
3529 3530 3531 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3529 def description @description end |
#endpoint ⇒ String
Output only. The DNS name of VMware admin cluster's API server.
Corresponds to the JSON property endpoint
3534 3535 3536 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3534 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
3542 3543 3544 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3542 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
3551 3552 3553 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3551 def fleet @fleet end |
#image_type ⇒ String
The OS image type for the VMware admin cluster.
Corresponds to the JSON property imageType
3556 3557 3558 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3556 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
3562 3563 3564 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3562 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
3574 3575 3576 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3574 def local_name @local_name end |
#name ⇒ String
Immutable. The VMware admin cluster resource name.
Corresponds to the JSON property name
3579 3580 3581 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3579 def name @name end |
#network_config ⇒ Google::Apis::GkeonpremV1::VmwareAdminNetworkConfig
VmwareAdminNetworkConfig contains network configuration for VMware admin
cluster.
Corresponds to the JSON property networkConfig
3585 3586 3587 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3585 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
3590 3591 3592 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3590 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
3595 3596 3597 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3595 def platform_config @platform_config 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
3601 3602 3603 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3601 def reconciling @reconciling end |
#state ⇒ String
Output only. The current state of VMware admin cluster.
Corresponds to the JSON property state
3607 3608 3609 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3607 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
3613 3614 3615 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3613 def status @status end |
#uid ⇒ String
Output only. The unique identifier of the VMware admin cluster.
Corresponds to the JSON property uid
3618 3619 3620 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3618 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
3623 3624 3625 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3623 def update_time @update_time end |
#vcenter ⇒ Google::Apis::GkeonpremV1::VmwareAdminVCenterConfig
VmwareAdminVCenterConfig contains VCenter configuration for VMware admin
cluster.
Corresponds to the JSON property vcenter
3629 3630 3631 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3629 def vcenter @vcenter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3636 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) @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) @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 |