Class AzureClustersGrpc.AzureClustersStub (0.19.0)

public static final class AzureClustersGrpc.AzureClustersStub extends AbstractAsyncStub<AzureClustersGrpc.AzureClustersStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > AzureClustersGrpc.AzureClustersStub

Methods

build(Channel channel, CallOptions callOptions)

protected AzureClustersGrpc.AzureClustersStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AzureClustersGrpc.AzureClustersStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAzureClient(CreateAzureClientRequest request, StreamObserver<Operation> responseObserver)

public void createAzureClient(CreateAzureClientRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateAzureClientRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createAzureCluster(CreateAzureClusterRequest request, StreamObserver<Operation> responseObserver)

public void createAzureCluster(CreateAzureClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateAzureClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createAzureNodePool(CreateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void createAzureNodePool(CreateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateAzureNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAzureClient(DeleteAzureClientRequest request, StreamObserver<Operation> responseObserver)

public void deleteAzureClient(DeleteAzureClientRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteAzureClientRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAzureCluster(DeleteAzureClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteAzureCluster(DeleteAzureClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteAzureClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAzureNodePool(DeleteAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteAzureNodePool(DeleteAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteAzureNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

generateAzureAccessToken(GenerateAzureAccessTokenRequest request, StreamObserver<GenerateAzureAccessTokenResponse> responseObserver)

public void generateAzureAccessToken(GenerateAzureAccessTokenRequest request, StreamObserver<GenerateAzureAccessTokenResponse> responseObserver)

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

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest
responseObserverio.grpc.stub.StreamObserver<GenerateAzureAccessTokenResponse>

getAzureClient(GetAzureClientRequest request, StreamObserver<AzureClient> responseObserver)

public void getAzureClient(GetAzureClientRequest request, StreamObserver<AzureClient> responseObserver)

Describes a specific AzureClient resource.

Parameters
NameDescription
requestGetAzureClientRequest
responseObserverio.grpc.stub.StreamObserver<AzureClient>

getAzureCluster(GetAzureClusterRequest request, StreamObserver<AzureCluster> responseObserver)

public void getAzureCluster(GetAzureClusterRequest request, StreamObserver<AzureCluster> responseObserver)

Describes a specific AzureCluster resource.

Parameters
NameDescription
requestGetAzureClusterRequest
responseObserverio.grpc.stub.StreamObserver<AzureCluster>

getAzureNodePool(GetAzureNodePoolRequest request, StreamObserver<AzureNodePool> responseObserver)

public void getAzureNodePool(GetAzureNodePoolRequest request, StreamObserver<AzureNodePool> responseObserver)

Describes a specific AzureNodePool resource.

Parameters
NameDescription
requestGetAzureNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<AzureNodePool>

getAzureServerConfig(GetAzureServerConfigRequest request, StreamObserver<AzureServerConfig> responseObserver)

public void getAzureServerConfig(GetAzureServerConfigRequest request, StreamObserver<AzureServerConfig> responseObserver)

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

Parameters
NameDescription
requestGetAzureServerConfigRequest
responseObserverio.grpc.stub.StreamObserver<AzureServerConfig>

listAzureClients(ListAzureClientsRequest request, StreamObserver<ListAzureClientsResponse> responseObserver)

public void listAzureClients(ListAzureClientsRequest request, StreamObserver<ListAzureClientsResponse> responseObserver)

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

Parameters
NameDescription
requestListAzureClientsRequest
responseObserverio.grpc.stub.StreamObserver<ListAzureClientsResponse>

listAzureClusters(ListAzureClustersRequest request, StreamObserver<ListAzureClustersResponse> responseObserver)

public void listAzureClusters(ListAzureClustersRequest request, StreamObserver<ListAzureClustersResponse> responseObserver)

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

Parameters
NameDescription
requestListAzureClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListAzureClustersResponse>

listAzureNodePools(ListAzureNodePoolsRequest request, StreamObserver<ListAzureNodePoolsResponse> responseObserver)

public void listAzureNodePools(ListAzureNodePoolsRequest request, StreamObserver<ListAzureNodePoolsResponse> responseObserver)

Lists all AzureNodePool resources on a given AzureCluster.

Parameters
NameDescription
requestListAzureNodePoolsRequest
responseObserverio.grpc.stub.StreamObserver<ListAzureNodePoolsResponse>

updateAzureCluster(UpdateAzureClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateAzureCluster(UpdateAzureClusterRequest request, StreamObserver<Operation> responseObserver)

Updates an AzureCluster.

Parameters
NameDescription
requestUpdateAzureClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateAzureNodePool(UpdateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

public void updateAzureNodePool(UpdateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates an AzureNodePool.

Parameters
NameDescription
requestUpdateAzureNodePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>