Anthos Multi-Cloud v1 API - Class AttachedClusters.AttachedClustersBase (2.5.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
NameDescription
requestCreateAttachedClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteAttachedClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetAttachedClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetAttachedServerConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestImportAttachedClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListAttachedClustersRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateAttachedClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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