Class AzureClustersGrpc.AzureClustersBlockingStub (0.12.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateAzureClientRequest
Returns
TypeDescription
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
NameDescription
requestCreateAzureClusterRequest
Returns
TypeDescription
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
NameDescription
requestCreateAzureNodePoolRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAzureClientRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAzureClusterRequest
Returns
TypeDescription
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
NameDescription
requestDeleteAzureNodePoolRequest
Returns
TypeDescription
Operation

generateAzureAccessToken(GenerateAzureAccessTokenRequest request)

public GenerateAzureAccessTokenResponse generateAzureAccessToken(GenerateAzureAccessTokenRequest request)

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

Parameter
NameDescription
requestGenerateAzureAccessTokenRequest
Returns
TypeDescription
GenerateAzureAccessTokenResponse

getAzureClient(GetAzureClientRequest request)

public AzureClient getAzureClient(GetAzureClientRequest request)

Describes a specific AzureClient resource.

Parameter
NameDescription
requestGetAzureClientRequest
Returns
TypeDescription
AzureClient

getAzureCluster(GetAzureClusterRequest request)

public AzureCluster getAzureCluster(GetAzureClusterRequest request)

Describes a specific AzureCluster resource.

Parameter
NameDescription
requestGetAzureClusterRequest
Returns
TypeDescription
AzureCluster

getAzureNodePool(GetAzureNodePoolRequest request)

public AzureNodePool getAzureNodePool(GetAzureNodePoolRequest request)

Describes a specific AzureNodePool resource.

Parameter
NameDescription
requestGetAzureNodePoolRequest
Returns
TypeDescription
AzureNodePool

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
NameDescription
requestGetAzureServerConfigRequest
Returns
TypeDescription
AzureServerConfig

listAzureClients(ListAzureClientsRequest request)

public ListAzureClientsResponse listAzureClients(ListAzureClientsRequest request)

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

Parameter
NameDescription
requestListAzureClientsRequest
Returns
TypeDescription
ListAzureClientsResponse

listAzureClusters(ListAzureClustersRequest request)

public ListAzureClustersResponse listAzureClusters(ListAzureClustersRequest request)

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

Parameter
NameDescription
requestListAzureClustersRequest
Returns
TypeDescription
ListAzureClustersResponse

listAzureNodePools(ListAzureNodePoolsRequest request)

public ListAzureNodePoolsResponse listAzureNodePools(ListAzureNodePoolsRequest request)

Lists all AzureNodePool resources on a given AzureCluster.

Parameter
NameDescription
requestListAzureNodePoolsRequest
Returns
TypeDescription
ListAzureNodePoolsResponse

updateAzureCluster(UpdateAzureClusterRequest request)

public Operation updateAzureCluster(UpdateAzureClusterRequest request)

Updates an AzureCluster.

Parameter
NameDescription
requestUpdateAzureClusterRequest
Returns
TypeDescription
Operation

updateAzureNodePool(UpdateAzureNodePoolRequest request)

public Operation updateAzureNodePool(UpdateAzureNodePoolRequest request)

Updates an AzureNodePool.

Parameter
NameDescription
requestUpdateAzureNodePoolRequest
Returns
TypeDescription
Operation