Class AzureClustersGrpc.AzureClustersFutureStub (0.44.0)

public static final class AzureClustersGrpc.AzureClustersFutureStub extends AbstractFutureStub<AzureClustersGrpc.AzureClustersFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AzureClusters.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AzureClustersGrpc.AzureClustersFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAzureClient(CreateAzureClientRequest request)

public ListenableFuture<Operation> createAzureClient(CreateAzureClientRequest request)

Creates a new AzureClient resource on a given Google Cloud project and region. AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf. 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 CreateAzureClientRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createAzureCluster(CreateAzureClusterRequest request)

public ListenableFuture<Operation> createAzureCluster(CreateAzureClusterRequest request)

Creates a new AzureCluster 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 CreateAzureClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createAzureNodePool(CreateAzureNodePoolRequest request)

public ListenableFuture<Operation> createAzureNodePool(CreateAzureNodePoolRequest request)

Creates a new AzureNodePool, attached to a given AzureCluster. 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 CreateAzureNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAzureClient(DeleteAzureClientRequest request)

public ListenableFuture<Operation> deleteAzureClient(DeleteAzureClientRequest request)

Deletes a specific AzureClient resource. If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned. 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 DeleteAzureClientRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAzureCluster(DeleteAzureClusterRequest request)

public ListenableFuture<Operation> deleteAzureCluster(DeleteAzureClusterRequest request)

Deletes a specific AzureCluster resource. Fails if the cluster has one or more associated AzureNodePool 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 DeleteAzureClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteAzureNodePool(DeleteAzureNodePoolRequest request)

public ListenableFuture<Operation> deleteAzureNodePool(DeleteAzureNodePoolRequest request)

Deletes a specific AzureNodePool 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 DeleteAzureNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

generateAzureAccessToken(GenerateAzureAccessTokenRequest request)

public ListenableFuture<GenerateAzureAccessTokenResponse> generateAzureAccessToken(GenerateAzureAccessTokenRequest request)

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

Parameter
Name Description
request GenerateAzureAccessTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateAzureAccessTokenResponse>

generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request)

public ListenableFuture<GenerateAzureClusterAgentTokenResponse> generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request)

Generates an access token for a cluster agent.

Parameter
Name Description
request GenerateAzureClusterAgentTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GenerateAzureClusterAgentTokenResponse>

getAzureClient(GetAzureClientRequest request)

public ListenableFuture<AzureClient> getAzureClient(GetAzureClientRequest request)

Describes a specific AzureClient resource.

Parameter
Name Description
request GetAzureClientRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AzureClient>

getAzureCluster(GetAzureClusterRequest request)

public ListenableFuture<AzureCluster> getAzureCluster(GetAzureClusterRequest request)

Describes a specific AzureCluster resource.

Parameter
Name Description
request GetAzureClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AzureCluster>

getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request)

public ListenableFuture<AzureJsonWebKeys> getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request)

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

Parameter
Name Description
request GetAzureJsonWebKeysRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AzureJsonWebKeys>

getAzureNodePool(GetAzureNodePoolRequest request)

public ListenableFuture<AzureNodePool> getAzureNodePool(GetAzureNodePoolRequest request)

Describes a specific AzureNodePool resource.

Parameter
Name Description
request GetAzureNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AzureNodePool>

getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request)

public ListenableFuture<AzureOpenIdConfig> getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request)

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

Parameter
Name Description
request GetAzureOpenIdConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AzureOpenIdConfig>

getAzureServerConfig(GetAzureServerConfigRequest request)

public ListenableFuture<AzureServerConfig> getAzureServerConfig(GetAzureServerConfigRequest request)

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

Parameter
Name Description
request GetAzureServerConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AzureServerConfig>

listAzureClients(ListAzureClientsRequest request)

public ListenableFuture<ListAzureClientsResponse> listAzureClients(ListAzureClientsRequest request)

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

Parameter
Name Description
request ListAzureClientsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAzureClientsResponse>

listAzureClusters(ListAzureClustersRequest request)

public ListenableFuture<ListAzureClustersResponse> listAzureClusters(ListAzureClustersRequest request)

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

Parameter
Name Description
request ListAzureClustersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAzureClustersResponse>

listAzureNodePools(ListAzureNodePoolsRequest request)

public ListenableFuture<ListAzureNodePoolsResponse> listAzureNodePools(ListAzureNodePoolsRequest request)

Lists all AzureNodePool resources on a given AzureCluster.

Parameter
Name Description
request ListAzureNodePoolsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListAzureNodePoolsResponse>

updateAzureCluster(UpdateAzureClusterRequest request)

public ListenableFuture<Operation> updateAzureCluster(UpdateAzureClusterRequest request)

Updates an AzureCluster.

Parameter
Name Description
request UpdateAzureClusterRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateAzureNodePool(UpdateAzureNodePoolRequest request)

public ListenableFuture<Operation> updateAzureNodePool(UpdateAzureNodePoolRequest request)

Updates an AzureNodePool.

Parameter
Name Description
request UpdateAzureNodePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>