Anthos Multi-Cloud v1 API - Class CreateAttachedClusterRequest (2.2.0)

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

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

Request message for AttachedClusters.CreateAttachedCluster method.

Inheritance

object > CreateAttachedClusterRequest

Namespace

GoogleCloudGoogle.Cloud.GkeMultiCloudV1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Constructors

CreateAttachedClusterRequest()

public CreateAttachedClusterRequest()

CreateAttachedClusterRequest(CreateAttachedClusterRequest)

public CreateAttachedClusterRequest(CreateAttachedClusterRequest other)
Parameter
NameDescription
otherCreateAttachedClusterRequest

Properties

AttachedCluster

public AttachedCluster AttachedCluster { get; set; }

Required. The specification of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] to create.

Property Value
TypeDescription
AttachedCluster

AttachedClusterId

public string AttachedClusterId { get; set; }

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource name formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The parent location where this [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

ValidateOnly

public bool ValidateOnly { get; set; }

If set, only validate the request, but do not actually create the cluster.

Property Value
TypeDescription
bool