Anthos Multi-Cloud v1 API - Class AwsClusters.AwsClustersBase (2.0.0)

[BindServiceMethod(typeof(AwsClusters), "BindService")]
public abstract class AwsClustersBase

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

Base class for server-side implementations of AwsClusters

Inheritance

Object > AwsClusters.AwsClustersBase

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Methods

CreateAwsCluster(CreateAwsClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateAwsCluster(CreateAwsClusterRequest request, ServerCallContext context)

Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource on a given GCP 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
requestCreateAwsClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

CreateAwsNodePool(CreateAwsNodePoolRequest, ServerCallContext)

public virtual Task<Operation> CreateAwsNodePool(CreateAwsNodePoolRequest request, ServerCallContext context)

Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].

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
requestCreateAwsNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

DeleteAwsCluster(DeleteAwsClusterRequest, ServerCallContext)

public virtual Task<Operation> DeleteAwsCluster(DeleteAwsClusterRequest request, ServerCallContext context)

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

Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.

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
requestDeleteAwsClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

DeleteAwsNodePool(DeleteAwsNodePoolRequest, ServerCallContext)

public virtual Task<Operation> DeleteAwsNodePool(DeleteAwsNodePoolRequest request, ServerCallContext context)

Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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
requestDeleteAwsNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

GenerateAwsAccessToken(GenerateAwsAccessTokenRequest, ServerCallContext)

public virtual Task<GenerateAwsAccessTokenResponse> GenerateAwsAccessToken(GenerateAwsAccessTokenRequest request, ServerCallContext context)

Generates a short-lived access token to authenticate to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.

Parameters
NameDescription
requestGenerateAwsAccessTokenRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<GenerateAwsAccessTokenResponse>

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

GetAwsCluster(GetAwsClusterRequest, ServerCallContext)

public virtual Task<AwsCluster> GetAwsCluster(GetAwsClusterRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetAwsClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<AwsCluster>

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

GetAwsNodePool(GetAwsNodePoolRequest, ServerCallContext)

public virtual Task<AwsNodePool> GetAwsNodePool(GetAwsNodePoolRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetAwsNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<AwsNodePool>

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

GetAwsServerConfig(GetAwsServerConfigRequest, ServerCallContext)

public virtual Task<AwsServerConfig> GetAwsServerConfig(GetAwsServerConfigRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetAwsServerConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<AwsServerConfig>

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

ListAwsClusters(ListAwsClustersRequest, ServerCallContext)

public virtual Task<ListAwsClustersResponse> ListAwsClusters(ListAwsClustersRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestListAwsClustersRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListAwsClustersResponse>

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

ListAwsNodePools(ListAwsNodePoolsRequest, ServerCallContext)

public virtual Task<ListAwsNodePoolsResponse> ListAwsNodePools(ListAwsNodePoolsRequest request, ServerCallContext context)

Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].

Parameters
NameDescription
requestListAwsNodePoolsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ListAwsNodePoolsResponse>

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

UpdateAwsCluster(UpdateAwsClusterRequest, ServerCallContext)

public virtual Task<Operation> UpdateAwsCluster(UpdateAwsClusterRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestUpdateAwsClusterRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

UpdateAwsNodePool(UpdateAwsNodePoolRequest, ServerCallContext)

public virtual Task<Operation> UpdateAwsNodePool(UpdateAwsNodePoolRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestUpdateAwsNodePoolRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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