Class AttachedCluster (0.5.1)

AttachedCluster(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An Anthos cluster running on customer own infrastructure.

Attributes

NameDescription
name str
The name of this resource. Cluster names are formatted as projects/. See `Resource Names
description str
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
oidc_config google.cloud.gke_multicloud_v1.types.AttachedOidcConfig
Required. OpenID Connect (OIDC) configuration for the cluster.
platform_version str
Required. The platform version for the cluster (e.g. 1.19.0-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.
distribution str
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
cluster_region str
Output only. The region where this cluster runs. For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.
fleet google.cloud.gke_multicloud_v1.types.Fleet
Required. Fleet configuration.
state google.cloud.gke_multicloud_v1.types.AttachedCluster.State
Output only. The current state of the cluster.
uid str
Output only. A globally unique identifier for the cluster.
reconciling bool
Output only. If set, there are currently changes in flight to the cluster.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this cluster was registered.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this cluster was last updated.
etag str
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
kubernetes_version str
Output only. The Kubernetes version of the cluster.
annotations MutableMapping[str, str]
Optional. Annotations on the 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.
workload_identity_config google.cloud.gke_multicloud_v1.types.WorkloadIdentityConfig
Output only. Workload Identity settings.
logging_config google.cloud.gke_multicloud_v1.types.LoggingConfig
Optional. Logging configuration for this cluster.
errors MutableSequence[google.cloud.gke_multicloud_v1.types.AttachedClusterError]
Output only. A set of errors found in the cluster.
authorization google.cloud.gke_multicloud_v1.types.AttachedClustersAuthorization
Optional. Configuration related to the cluster RBAC settings.
monitoring_config google.cloud.gke_multicloud_v1.types.MonitoringConfig
Optional. Monitoring configuration for this cluster.

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

The lifecycle state of the cluster.

Values: STATE_UNSPECIFIED (0): Not set. PROVISIONING (1): The PROVISIONING state indicates the cluster is being registered. RUNNING (2): The RUNNING state indicates the cluster has been register and is fully usable. RECONCILING (3): The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading software components. STOPPING (4): The STOPPING state indicates the cluster is being de-registered. ERROR (5): The ERROR state indicates the cluster is in a broken unrecoverable state. DEGRADED (6): The DEGRADED state indicates the cluster requires user action to restore full functionality.