Anthos Multi-Cloud v1 API - Class AttachedClusters.AttachedClustersBase (2.6.0)

[BindServiceMethod(typeof(AttachedClusters), "BindService")]
public abstract class AttachedClusters.AttachedClustersBase

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

Base class for server-side implementations of AttachedClusters

Inheritance

object > AttachedClusters.AttachedClustersBase

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Methods

CreateAttachedCluster(CreateAttachedClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateAttachedCluster(CreateAttachedClusterRequest request, ServerCallContext context)

Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
Name Description
request CreateAttachedClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteAttachedCluster(DeleteAttachedClusterRequest, ServerCallContext)

public virtual Task<Operation> DeleteAttachedCluster(DeleteAttachedClusterRequest request, ServerCallContext context)

Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
Name Description
request DeleteAttachedClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest, ServerCallContext)

public virtual Task<GenerateAttachedClusterAgentTokenResponse> GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, ServerCallContext context)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAttachedClusterAgentTokenRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGenerateAttachedClusterAgentTokenResponse

The response to send back to the client (wrapped by a task).

GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, ServerCallContext)

public virtual Task<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, ServerCallContext context)

Generates the install manifest to be installed on the target cluster.

Parameters
Name Description
request GenerateAttachedClusterInstallManifestRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGenerateAttachedClusterInstallManifestResponse

The response to send back to the client (wrapped by a task).

GetAttachedCluster(GetAttachedClusterRequest, ServerCallContext)

public virtual Task<AttachedCluster> GetAttachedCluster(GetAttachedClusterRequest request, ServerCallContext context)

Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.

Parameters
Name Description
request GetAttachedClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAttachedCluster

The response to send back to the client (wrapped by a task).

GetAttachedServerConfig(GetAttachedServerConfigRequest, ServerCallContext)

public virtual Task<AttachedServerConfig> GetAttachedServerConfig(GetAttachedServerConfigRequest request, ServerCallContext context)

Returns information, such as supported Kubernetes versions, on a given Google Cloud location.

Parameters
Name Description
request GetAttachedServerConfigRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskAttachedServerConfig

The response to send back to the client (wrapped by a task).

ImportAttachedCluster(ImportAttachedClusterRequest, ServerCallContext)

public virtual Task<Operation> ImportAttachedCluster(ImportAttachedClusterRequest request, ServerCallContext context)

Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource.

Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
Name Description
request ImportAttachedClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

ListAttachedClusters(ListAttachedClustersRequest, ServerCallContext)

public virtual Task<ListAttachedClustersResponse> ListAttachedClusters(ListAttachedClustersRequest request, ServerCallContext context)

Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.

Parameters
Name Description
request ListAttachedClustersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListAttachedClustersResponse

The response to send back to the client (wrapped by a task).

UpdateAttachedCluster(UpdateAttachedClusterRequest, ServerCallContext)

public virtual Task<Operation> UpdateAttachedCluster(UpdateAttachedClusterRequest request, ServerCallContext context)

Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

Parameters
Name Description
request UpdateAttachedClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).