[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
Namespace
Google.Cloud.GkeMultiCloud.V1Assembly
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 | |
---|---|
Name | Description |
request | CreateAwsClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateAwsNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteAwsClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteAwsNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GenerateAwsAccessTokenRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetAwsClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetAwsNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetAwsServerConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListAwsClustersRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListAwsNodePoolsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateAwsClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateAwsNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |