Class AzureClustersGrpc.AzureClustersBlockingStub (0.48.0)

public static final class AzureClustersGrpc.AzureClustersBlockingStub extends AbstractBlockingStub<AzureClustersGrpc.AzureClustersBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > AzureClustersGrpc.AzureClustersBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createAzureClient(CreateAzureClientRequest request)

public 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
Operation

createAzureCluster(CreateAzureClusterRequest request)

public 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
Operation

createAzureNodePool(CreateAzureNodePoolRequest request)

public 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
Operation

deleteAzureClient(DeleteAzureClientRequest request)

public 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
Operation

deleteAzureCluster(DeleteAzureClusterRequest request)

public 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
Operation

deleteAzureNodePool(DeleteAzureNodePoolRequest request)

public 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
Operation

generateAzureAccessToken(GenerateAzureAccessTokenRequest request)

public 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
GenerateAzureAccessTokenResponse

generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request)

public GenerateAzureClusterAgentTokenResponse generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request)

Generates an access token for a cluster agent.

Parameter
Name Description
request GenerateAzureClusterAgentTokenRequest
Returns
Type Description
GenerateAzureClusterAgentTokenResponse

getAzureClient(GetAzureClientRequest request)

public AzureClient getAzureClient(GetAzureClientRequest request)

Describes a specific AzureClient resource.

Parameter
Name Description
request GetAzureClientRequest
Returns
Type Description
AzureClient

getAzureCluster(GetAzureClusterRequest request)

public AzureCluster getAzureCluster(GetAzureClusterRequest request)

Describes a specific AzureCluster resource.

Parameter
Name Description
request GetAzureClusterRequest
Returns
Type Description
AzureCluster

getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request)

public 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
AzureJsonWebKeys

getAzureNodePool(GetAzureNodePoolRequest request)

public AzureNodePool getAzureNodePool(GetAzureNodePoolRequest request)

Describes a specific AzureNodePool resource.

Parameter
Name Description
request GetAzureNodePoolRequest
Returns
Type Description
AzureNodePool

getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request)

public 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
AzureOpenIdConfig

getAzureServerConfig(GetAzureServerConfigRequest request)

public 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
AzureServerConfig

listAzureClients(ListAzureClientsRequest request)

public ListAzureClientsResponse listAzureClients(ListAzureClientsRequest request)

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

Parameter
Name Description
request ListAzureClientsRequest
Returns
Type Description
ListAzureClientsResponse

listAzureClusters(ListAzureClustersRequest request)

public ListAzureClustersResponse listAzureClusters(ListAzureClustersRequest request)

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

Parameter
Name Description
request ListAzureClustersRequest
Returns
Type Description
ListAzureClustersResponse

listAzureNodePools(ListAzureNodePoolsRequest request)

public ListAzureNodePoolsResponse listAzureNodePools(ListAzureNodePoolsRequest request)

Lists all AzureNodePool resources on a given AzureCluster.

Parameter
Name Description
request ListAzureNodePoolsRequest
Returns
Type Description
ListAzureNodePoolsResponse

updateAzureCluster(UpdateAzureClusterRequest request)

public Operation updateAzureCluster(UpdateAzureClusterRequest request)

Updates an AzureCluster.

Parameter
Name Description
request UpdateAzureClusterRequest
Returns
Type Description
Operation

updateAzureNodePool(UpdateAzureNodePoolRequest request)

public Operation updateAzureNodePool(UpdateAzureNodePoolRequest request)

Updates an AzureNodePool.

Parameter
Name Description
request UpdateAzureNodePoolRequest
Returns
Type Description
Operation