Class AzureClustersGrpc.AzureClustersStub (0.53.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateAzureClientRequest
responseObserver io.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
Name Description
request CreateAzureClusterRequest
responseObserver io.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
Name Description
request CreateAzureNodePoolRequest
responseObserver io.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
Name Description
request DeleteAzureClientRequest
responseObserver io.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
Name Description
request DeleteAzureClusterRequest
responseObserver io.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
Name Description
request DeleteAzureNodePoolRequest
responseObserver io.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
Name Description
request GenerateAzureAccessTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAzureAccessTokenResponse>

generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request, StreamObserver<GenerateAzureClusterAgentTokenResponse> responseObserver)

public void generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request, StreamObserver<GenerateAzureClusterAgentTokenResponse> responseObserver)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAzureClusterAgentTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAzureClusterAgentTokenResponse>

getAzureClient(GetAzureClientRequest request, StreamObserver<AzureClient> responseObserver)

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

Describes a specific AzureClient resource.

Parameters
Name Description
request GetAzureClientRequest
responseObserver io.grpc.stub.StreamObserver<AzureClient>

getAzureCluster(GetAzureClusterRequest request, StreamObserver<AzureCluster> responseObserver)

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

Describes a specific AzureCluster resource.

Parameters
Name Description
request GetAzureClusterRequest
responseObserver io.grpc.stub.StreamObserver<AzureCluster>

getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request, StreamObserver<AzureJsonWebKeys> responseObserver)

public void getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request, StreamObserver<AzureJsonWebKeys> responseObserver)

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

Parameters
Name Description
request GetAzureJsonWebKeysRequest
responseObserver io.grpc.stub.StreamObserver<AzureJsonWebKeys>

getAzureNodePool(GetAzureNodePoolRequest request, StreamObserver<AzureNodePool> responseObserver)

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

Describes a specific AzureNodePool resource.

Parameters
Name Description
request GetAzureNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<AzureNodePool>

getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request, StreamObserver<AzureOpenIdConfig> responseObserver)

public void getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request, StreamObserver<AzureOpenIdConfig> responseObserver)

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

Parameters
Name Description
request GetAzureOpenIdConfigRequest
responseObserver io.grpc.stub.StreamObserver<AzureOpenIdConfig>

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
Name Description
request GetAzureServerConfigRequest
responseObserver io.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
Name Description
request ListAzureClientsRequest
responseObserver io.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
Name Description
request ListAzureClustersRequest
responseObserver io.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
Name Description
request ListAzureNodePoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListAzureNodePoolsResponse>

updateAzureCluster(UpdateAzureClusterRequest request, StreamObserver<Operation> responseObserver)

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

Updates an AzureCluster.

Parameters
Name Description
request UpdateAzureClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateAzureNodePool(UpdateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

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

Updates an AzureNodePool.

Parameters
Name Description
request UpdateAzureNodePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>