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.
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.
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].
Optional. Input only. Tag keys/values directly bound to this resource.
Tag key must be specified in the format <tag namespace>/<tag key name>
where the tag namespace is the ID of the organization or name of the
project that the tag key is defined in.
The short name of a tag key or value can have a maximum length of 256
characters. The permitted character set for the short name includes UTF-8
encoded Unicode characters except single quotes ('), double quotes ("),
backslashes (), and forward slashes (/).
See Tags
for more details on Google Cloud Platform tags.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eAttachedCluster\u003c/code\u003e API is 2.8.0, with prior versions available for reference, including versions back to 1.0.0-beta01.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttachedCluster\u003c/code\u003e class represents an Anthos cluster running on customer infrastructure, supporting distributions like EKS, AKS, and generic Kubernetes.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAttachedCluster\u003c/code\u003e include details about the cluster's configuration such as distribution, platform version, OIDC configuration, proxy settings, and fleet configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe class also handles cluster state, errors, creation and update timestamps, allowing for monitoring and managing the lifecycle of the attached cluster.\u003c/p\u003e\n"],["\u003cp\u003eOptional features like logging, monitoring, binary authorization, and security posture can be configured using the appropriate properties in the AttachedCluster object.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class AttachedCluster (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.AttachedCluster)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.AttachedCluster) \n\n public sealed class AttachedCluster : IMessage\u003cAttachedCluster\u003e, IEquatable\u003cAttachedCluster\u003e, IDeepCloneable\u003cAttachedCluster\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class AttachedCluster.\n\nAn Anthos cluster running on customer own infrastructure. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AttachedCluster \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AttachedCluster](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedCluster), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AttachedCluster](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedCluster), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AttachedCluster](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedCluster), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### AttachedCluster()\n\n public AttachedCluster()\n\n### AttachedCluster(AttachedCluster)\n\n public AttachedCluster(AttachedCluster other)\n\nProperties\n----------\n\n### Annotations\n\n public MapField\u003cstring, string\u003e Annotations { get; }\n\nOptional. Annotations on the cluster.\n\nThis field has the same restrictions as Kubernetes annotations.\nThe total size of all keys and values combined is limited to 256k.\nKey can have 2 segments: prefix (optional) and name (required),\nseparated by a slash (/).\nPrefix must be a DNS subdomain.\nName must be 63 characters or less, begin and end with alphanumerics,\nwith dashes (-), underscores (_), dots (.), and alphanumerics between.\n\n### AttachedClusterName\n\n public AttachedClusterName AttachedClusterName { get; set; }\n\n[AttachedClusterName](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedClusterName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedCluster#Google_Cloud_GkeMultiCloud_V1_AttachedCluster_Name) resource name property.\n\n### Authorization\n\n public AttachedClustersAuthorization Authorization { get; set; }\n\nOptional. Configuration related to the cluster RBAC settings.\n\n### BinaryAuthorization\n\n public BinaryAuthorization BinaryAuthorization { get; set; }\n\nOptional. Binary Authorization configuration for this cluster.\n\n### ClusterRegion\n\n public string ClusterRegion { get; set; }\n\nOutput only. The region where this cluster runs.\n\nFor EKS clusters, this is a AWS region. For AKS clusters,\nthis is an Azure region.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time at which this cluster was registered.\n\n### Description\n\n public string Description { get; set; }\n\nOptional. A human readable description of this cluster.\nCannot be longer than 255 UTF-8 encoded bytes.\n\n### Distribution\n\n public string Distribution { get; set; }\n\nRequired. The Kubernetes distribution of the underlying attached cluster.\n\nSupported values: \\[\"eks\", \"aks\", \"generic\"\\].\n\n### Errors\n\n public RepeatedField\u003cAttachedClusterError\u003e Errors { get; }\n\nOutput only. A set of errors found in the cluster.\n\n### Etag\n\n public string Etag { get; set; }\n\nAllows clients to perform consistent read-modify-writes\nthrough optimistic concurrency control.\n\nCan be sent on update and delete requests to ensure the\nclient has an up-to-date value before proceeding.\n\n### Fleet\n\n public Fleet Fleet { get; set; }\n\nRequired. Fleet configuration.\n\n### KubernetesVersion\n\n public string KubernetesVersion { get; set; }\n\nOutput only. The Kubernetes version of the cluster.\n\n### LoggingConfig\n\n public LoggingConfig LoggingConfig { get; set; }\n\nOptional. Logging configuration for this cluster.\n\n### MonitoringConfig\n\n public MonitoringConfig MonitoringConfig { get; set; }\n\nOptional. Monitoring configuration for this cluster.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of this resource.\n\nCluster names are formatted as\n`projects/\u003cproject-number\u003e/locations/\u003cregion\u003e/attachedClusters/\u003ccluster-id\u003e`.\n\nSee [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud Platform resource names.\n\n### OidcConfig\n\n public AttachedOidcConfig OidcConfig { get; set; }\n\nRequired. OpenID Connect (OIDC) configuration for the cluster.\n\n### PlatformVersion\n\n public string PlatformVersion { get; set; }\n\nRequired. The platform version for the cluster (e.g. `1.19.0-gke.1000`).\n\nYou can list all supported versions on a given Google Cloud region by\ncalling\n\\[GetAttachedServerConfig\\]\\[google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig\\].\n\n### ProxyConfig\n\n public AttachedProxyConfig ProxyConfig { get; set; }\n\nOptional. Proxy configuration for outbound HTTP(S) traffic.\n\n### Reconciling\n\n public bool Reconciling { get; set; }\n\nOutput only. If set, there are currently changes in flight to the cluster.\n\n### SecurityPostureConfig\n\n public SecurityPostureConfig SecurityPostureConfig { get; set; }\n\nOptional. Security Posture configuration for this cluster.\n\n### State\n\n public AttachedCluster.Types.State State { get; set; }\n\nOutput only. The current state of the cluster.\n\n### Tags\n\n public MapField\u003cstring, string\u003e Tags { get; }\n\nOptional. Input only. Tag keys/values directly bound to this resource.\n\nTag key must be specified in the format \\\u003ctag namespace\\\u003e/\\\u003ctag key name\\\u003e\nwhere the tag namespace is the ID of the organization or name of the\nproject that the tag key is defined in.\nThe short name of a tag key or value can have a maximum length of 256\ncharacters. The permitted character set for the short name includes UTF-8\nencoded Unicode characters except single quotes ('), double quotes (\"),\nbackslashes (), and forward slashes (/).\n\nSee [Tags](http://cloud/resource-manager/docs/tags/tags-overview)\nfor more details on Google Cloud Platform tags.\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. A globally unique identifier for the cluster.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The time at which this cluster was last updated.\n\n### WorkloadIdentityConfig\n\n public WorkloadIdentityConfig WorkloadIdentityConfig { get; set; }\n\nOutput only. Workload Identity settings."]]