Class AwsClustersGrpc.AwsClustersImplBase (0.7.0)

public abstract static class AwsClustersGrpc.AwsClustersImplBase implements BindableService

The AwsClusters API provides a single centrally managed service to create and manage Anthos clusters that run on AWS infrastructure.

Inheritance

java.lang.Object > AwsClustersGrpc.AwsClustersImplBase

Implements

io.grpc.BindableService

Constructors

AwsClustersImplBase()

public AwsClustersImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createAwsCluster(CreateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

public void createAwsCluster(CreateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new AwsCluster resource on a given GCP project and region. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAwsClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createAwsNodePool(CreateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void createAwsNodePool(CreateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a new AwsNodePool, attached to a given AwsCluster. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAwsNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAwsCluster(DeleteAwsClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteAwsCluster(DeleteAwsClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a specific AwsCluster resource. Fails if the cluster has one or more associated AwsNodePool resources. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAwsClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAwsNodePool(DeleteAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteAwsNodePool(DeleteAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

Deletes a specific AwsNodePool resource. If successful, the response contains a newly created Operation resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAwsNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

generateAwsAccessToken(GenerateAwsAccessTokenRequest request, StreamObserver<GenerateAwsAccessTokenResponse> responseObserver)

public void generateAwsAccessToken(GenerateAwsAccessTokenRequest request, StreamObserver<GenerateAwsAccessTokenResponse> responseObserver)

Generates a short-lived access token to authenticate to a given AwsCluster resource.

Parameters
NameDescription
requestGenerateAwsAccessTokenRequest
responseObserverio.grpc.stub.StreamObserver<GenerateAwsAccessTokenResponse>

getAwsCluster(GetAwsClusterRequest request, StreamObserver<AwsCluster> responseObserver)

public void getAwsCluster(GetAwsClusterRequest request, StreamObserver<AwsCluster> responseObserver)

Describes a specific AwsCluster resource.

Parameters
NameDescription
requestGetAwsClusterRequest
responseObserverio.grpc.stub.StreamObserver<AwsCluster>

getAwsNodePool(GetAwsNodePoolRequest request, StreamObserver<AwsNodePool> responseObserver)

public void getAwsNodePool(GetAwsNodePoolRequest request, StreamObserver<AwsNodePool> responseObserver)

Describes a specific AwsNodePool resource.

Parameters
NameDescription
requestGetAwsNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<AwsNodePool>

getAwsServerConfig(GetAwsServerConfigRequest request, StreamObserver<AwsServerConfig> responseObserver)

public void getAwsServerConfig(GetAwsServerConfigRequest request, StreamObserver<AwsServerConfig> responseObserver)

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

Parameters
NameDescription
requestGetAwsServerConfigRequest
responseObserverio.grpc.stub.StreamObserver<AwsServerConfig>

listAwsClusters(ListAwsClustersRequest request, StreamObserver<ListAwsClustersResponse> responseObserver)

public void listAwsClusters(ListAwsClustersRequest request, StreamObserver<ListAwsClustersResponse> responseObserver)

Lists all AwsCluster resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAwsClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListAwsClustersResponse>

listAwsNodePools(ListAwsNodePoolsRequest request, StreamObserver<ListAwsNodePoolsResponse> responseObserver)

public void listAwsNodePools(ListAwsNodePoolsRequest request, StreamObserver<ListAwsNodePoolsResponse> responseObserver)

Lists all AwsNodePool resources on a given AwsCluster.

Parameters
NameDescription
requestListAwsNodePoolsRequest
responseObserverio.grpc.stub.StreamObserver<ListAwsNodePoolsResponse>

updateAwsCluster(UpdateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateAwsCluster(UpdateAwsClusterRequest request, StreamObserver<Operation> responseObserver)

Updates an AwsCluster.

Parameters
NameDescription
requestUpdateAwsClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateAwsNodePool(UpdateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void updateAwsNodePool(UpdateAwsNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates an AwsNodePool.

Parameters
NameDescription
requestUpdateAwsNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>