Class AwsClustersGrpc.AwsClustersBlockingStub (0.42.0)

public static final class AwsClustersGrpc.AwsClustersBlockingStub extends AbstractBlockingStub<AwsClustersGrpc.AwsClustersBlockingStub>

A stub to allow clients to do synchronous rpc calls to service AwsClusters.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AwsClustersGrpc.AwsClustersBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AwsClustersGrpc.AwsClustersBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
AwsClustersGrpc.AwsClustersBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAwsCluster(CreateAwsClusterRequest request)

public Operation createAwsCluster(CreateAwsClusterRequest request)

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

Parameter
Name Description
request CreateAwsClusterRequest
Returns
Type Description
Operation

createAwsNodePool(CreateAwsNodePoolRequest request)

public Operation createAwsNodePool(CreateAwsNodePoolRequest request)

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.

Parameter
Name Description
request CreateAwsNodePoolRequest
Returns
Type Description
Operation

deleteAwsCluster(DeleteAwsClusterRequest request)

public Operation deleteAwsCluster(DeleteAwsClusterRequest request)

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.

Parameter
Name Description
request DeleteAwsClusterRequest
Returns
Type Description
Operation

deleteAwsNodePool(DeleteAwsNodePoolRequest request)

public Operation deleteAwsNodePool(DeleteAwsNodePoolRequest request)

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.

Parameter
Name Description
request DeleteAwsNodePoolRequest
Returns
Type Description
Operation

generateAwsAccessToken(GenerateAwsAccessTokenRequest request)

public GenerateAwsAccessTokenResponse generateAwsAccessToken(GenerateAwsAccessTokenRequest request)

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

Parameter
Name Description
request GenerateAwsAccessTokenRequest
Returns
Type Description
GenerateAwsAccessTokenResponse

generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request)

public GenerateAwsClusterAgentTokenResponse generateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request)

Generates an access token for a cluster agent.

Parameter
Name Description
request GenerateAwsClusterAgentTokenRequest
Returns
Type Description
GenerateAwsClusterAgentTokenResponse

getAwsCluster(GetAwsClusterRequest request)

public AwsCluster getAwsCluster(GetAwsClusterRequest request)

Describes a specific AwsCluster resource.

Parameter
Name Description
request GetAwsClusterRequest
Returns
Type Description
AwsCluster

getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request)

public AwsJsonWebKeys getAwsJsonWebKeys(GetAwsJsonWebKeysRequest request)

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

Parameter
Name Description
request GetAwsJsonWebKeysRequest
Returns
Type Description
AwsJsonWebKeys

getAwsNodePool(GetAwsNodePoolRequest request)

public AwsNodePool getAwsNodePool(GetAwsNodePoolRequest request)

Describes a specific AwsNodePool resource.

Parameter
Name Description
request GetAwsNodePoolRequest
Returns
Type Description
AwsNodePool

getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request)

public AwsOpenIdConfig getAwsOpenIdConfig(GetAwsOpenIdConfigRequest request)

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

Parameter
Name Description
request GetAwsOpenIdConfigRequest
Returns
Type Description
AwsOpenIdConfig

getAwsServerConfig(GetAwsServerConfigRequest request)

public AwsServerConfig getAwsServerConfig(GetAwsServerConfigRequest request)

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

Parameter
Name Description
request GetAwsServerConfigRequest
Returns
Type Description
AwsServerConfig

listAwsClusters(ListAwsClustersRequest request)

public ListAwsClustersResponse listAwsClusters(ListAwsClustersRequest request)

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

Parameter
Name Description
request ListAwsClustersRequest
Returns
Type Description
ListAwsClustersResponse

listAwsNodePools(ListAwsNodePoolsRequest request)

public ListAwsNodePoolsResponse listAwsNodePools(ListAwsNodePoolsRequest request)

Lists all AwsNodePool resources on a given AwsCluster.

Parameter
Name Description
request ListAwsNodePoolsRequest
Returns
Type Description
ListAwsNodePoolsResponse

rollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request)

public Operation rollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request)

Rolls back a previously aborted or failed 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.

Parameter
Name Description
request RollbackAwsNodePoolUpdateRequest
Returns
Type Description
Operation

updateAwsCluster(UpdateAwsClusterRequest request)

public Operation updateAwsCluster(UpdateAwsClusterRequest request)

Updates an AwsCluster.

Parameter
Name Description
request UpdateAwsClusterRequest
Returns
Type Description
Operation

updateAwsNodePool(UpdateAwsNodePoolRequest request)

public Operation updateAwsNodePool(UpdateAwsNodePoolRequest request)

Updates an AwsNodePool.

Parameter
Name Description
request UpdateAwsNodePoolRequest
Returns
Type Description
Operation