Interface AzureClustersGrpc.AsyncService (0.34.0)

public static interface AzureClustersGrpc.AsyncService

The AzureClusters API provides a single centrally managed service to create and manage Anthos clusters that run on Azure infrastructure.

Methods

createAzureClient(CreateAzureClientRequest request, StreamObserver<Operation> responseObserver)

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

generateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request, StreamObserver<GenerateAzureClusterAgentTokenResponse> responseObserver)

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

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAzureClusterAgentTokenRequest
responseObserverio.grpc.stub.StreamObserver<GenerateAzureClusterAgentTokenResponse>

getAzureClient(GetAzureClientRequest request, StreamObserver<AzureClient> responseObserver)

public default 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 default void getAzureCluster(GetAzureClusterRequest request, StreamObserver<AzureCluster> responseObserver)

Describes a specific AzureCluster resource.

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

getAzureJsonWebKeys(GetAzureJsonWebKeysRequest request, StreamObserver<AzureJsonWebKeys> responseObserver)

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

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

Parameters
NameDescription
requestGetAzureJsonWebKeysRequest
responseObserverio.grpc.stub.StreamObserver<AzureJsonWebKeys>

getAzureNodePool(GetAzureNodePoolRequest request, StreamObserver<AzureNodePool> responseObserver)

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

Describes a specific AzureNodePool resource.

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

getAzureOpenIdConfig(GetAzureOpenIdConfigRequest request, StreamObserver<AzureOpenIdConfig> responseObserver)

public default 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
NameDescription
requestGetAzureOpenIdConfigRequest
responseObserverio.grpc.stub.StreamObserver<AzureOpenIdConfig>

getAzureServerConfig(GetAzureServerConfigRequest request, StreamObserver<AzureServerConfig> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default void updateAzureNodePool(UpdateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)

Updates an AzureNodePool.

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