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

[BindServiceMethod(typeof(AwsClusters), "BindService")]
public abstract class AwsClusters.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 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
requestCreateAwsClusterRequest

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).

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
TaskOperation

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
TaskOperation

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
TaskOperation

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
TaskGenerateAwsAccessTokenResponse

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

GenerateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest, ServerCallContext)

public virtual Task<GenerateAwsClusterAgentTokenResponse> GenerateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request, ServerCallContext context)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAwsClusterAgentTokenRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskGenerateAwsClusterAgentTokenResponse

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
TaskAwsCluster

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

GetAwsJsonWebKeys(GetAwsJsonWebKeysRequest, ServerCallContext)

public virtual Task<AwsJsonWebKeys> GetAwsJsonWebKeys(GetAwsJsonWebKeysRequest request, ServerCallContext context)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
NameDescription
requestGetAwsJsonWebKeysRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskAwsJsonWebKeys

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
TaskAwsNodePool

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

GetAwsOpenIdConfig(GetAwsOpenIdConfigRequest, ServerCallContext)

public virtual Task<AwsOpenIdConfig> GetAwsOpenIdConfig(GetAwsOpenIdConfigRequest request, ServerCallContext context)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
NameDescription
requestGetAwsOpenIdConfigRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskAwsOpenIdConfig

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
TaskAwsServerConfig

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
TaskListAwsClustersResponse

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
TaskListAwsNodePoolsResponse

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

RollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest, ServerCallContext)

public virtual Task<Operation> RollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request, ServerCallContext context)

Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.

Parameters
NameDescription
requestRollbackAwsNodePoolUpdateRequest

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).

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
TaskOperation

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
TaskOperation

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