Class AzureClustersGrpc.AzureClustersFutureStub (0.39.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateAzureClientRequest
Returns
TypeDescription
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
NameDescription
requestCreateAzureClusterRequest
Returns
TypeDescription
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
NameDescription
requestCreateAzureNodePoolRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAzureClientRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAzureClusterRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAzureNodePoolRequest
Returns
TypeDescription
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
NameDescription
requestGenerateAzureAccessTokenRequest
Returns
TypeDescription
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
NameDescription
requestGenerateAzureClusterAgentTokenRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GenerateAzureClusterAgentTokenResponse>

getAzureClient(GetAzureClientRequest request)

public ListenableFuture<AzureClient> getAzureClient(GetAzureClientRequest request)

Describes a specific AzureClient resource.

Parameter
NameDescription
requestGetAzureClientRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AzureClient>

getAzureCluster(GetAzureClusterRequest request)

public ListenableFuture<AzureCluster> getAzureCluster(GetAzureClusterRequest request)

Describes a specific AzureCluster resource.

Parameter
NameDescription
requestGetAzureClusterRequest
Returns
TypeDescription
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
NameDescription
requestGetAzureJsonWebKeysRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<AzureJsonWebKeys>

getAzureNodePool(GetAzureNodePoolRequest request)

public ListenableFuture<AzureNodePool> getAzureNodePool(GetAzureNodePoolRequest request)

Describes a specific AzureNodePool resource.

Parameter
NameDescription
requestGetAzureNodePoolRequest
Returns
TypeDescription
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
NameDescription
requestGetAzureOpenIdConfigRequest
Returns
TypeDescription
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
NameDescription
requestGetAzureServerConfigRequest
Returns
TypeDescription
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
NameDescription
requestListAzureClientsRequest
Returns
TypeDescription
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
NameDescription
requestListAzureClustersRequest
Returns
TypeDescription
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
NameDescription
requestListAzureNodePoolsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListAzureNodePoolsResponse>

updateAzureCluster(UpdateAzureClusterRequest request)

public ListenableFuture<Operation> updateAzureCluster(UpdateAzureClusterRequest request)

Updates an AzureCluster.

Parameter
NameDescription
requestUpdateAzureClusterRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateAzureNodePool(UpdateAzureNodePoolRequest request)

public ListenableFuture<Operation> updateAzureNodePool(UpdateAzureNodePoolRequest request)

Updates an AzureNodePool.

Parameter
NameDescription
requestUpdateAzureNodePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>