Anthos Multi-Cloud v1 API - Class AttachedCluster (2.1.0)

public sealed class AttachedCluster : IMessage<AttachedCluster>, IEquatable<AttachedCluster>, IDeepCloneable<AttachedCluster>, IBufferMessage, IMessage

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class AttachedCluster.

An Anthos cluster running on customer own infrastructure.

Inheritance

Object > AttachedCluster

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Constructors

AttachedCluster()

public AttachedCluster()

AttachedCluster(AttachedCluster)

public AttachedCluster(AttachedCluster other)
Parameter
NameDescription
otherAttachedCluster

Properties

Annotations

public MapField<string, string> Annotations { get; }

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.

Property Value
TypeDescription
MapField<String, String>

AttachedClusterName

public AttachedClusterName AttachedClusterName { get; set; }

AttachedClusterName-typed view over the Name resource name property.

Property Value
TypeDescription
AttachedClusterName

Authorization

public AttachedClustersAuthorization Authorization { get; set; }

Optional. Configuration related to the cluster RBAC settings.

Property Value
TypeDescription
AttachedClustersAuthorization

ClusterRegion

public string ClusterRegion { get; set; }

Output only. The region where this cluster runs.

For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.

Property Value
TypeDescription
String

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which this cluster was registered.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.

Property Value
TypeDescription
String

Distribution

public string Distribution { get; set; }

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks"].

Property Value
TypeDescription
String

Errors

public RepeatedField<AttachedClusterError> Errors { get; }

Output only. A set of errors found in the cluster.

Property Value
TypeDescription
RepeatedField<AttachedClusterError>

Etag

public string Etag { get; set; }

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.

Property Value
TypeDescription
String

Fleet

public Fleet Fleet { get; set; }

Required. Fleet configuration.

Property Value
TypeDescription
Fleet

KubernetesVersion

public string KubernetesVersion { get; set; }

Output only. The Kubernetes version of the cluster.

Property Value
TypeDescription
String

LoggingConfig

public LoggingConfig LoggingConfig { get; set; }

Optional. Logging configuration for this cluster.

Property Value
TypeDescription
LoggingConfig

MonitoringConfig

public MonitoringConfig MonitoringConfig { get; set; }

Optional. Monitoring configuration for this cluster.

Property Value
TypeDescription
MonitoringConfig

Name

public string Name { get; set; }

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>.

See Resource Names for more details on GCP resource names.

Property Value
TypeDescription
String

OidcConfig

public AttachedOidcConfig OidcConfig { get; set; }

Required. OpenID Connect (OIDC) configuration for the cluster.

Property Value
TypeDescription
AttachedOidcConfig

PlatformVersion

public string PlatformVersion { get; set; }

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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].

Property Value
TypeDescription
String

Reconciling

public bool Reconciling { get; set; }

Output only. If set, there are currently changes in flight to the cluster.

Property Value
TypeDescription
Boolean

State

public AttachedCluster.Types.State State { get; set; }

Output only. The current state of the cluster.

Property Value
TypeDescription
AttachedCluster.Types.State

Uid

public string Uid { get; set; }

Output only. A globally unique identifier for the cluster.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time at which this cluster was last updated.

Property Value
TypeDescription
Timestamp

WorkloadIdentityConfig

public WorkloadIdentityConfig WorkloadIdentityConfig { get; set; }

Output only. Workload Identity settings.

Property Value
TypeDescription
WorkloadIdentityConfig