public static final class AzureClustersGrpc.AzureClustersStub extends AbstractAsyncStub<AzureClustersGrpc.AzureClustersStub>
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
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected AzureClustersGrpc.AzureClustersStub build(Channel channel, CallOptions callOptions)
Parameters |
---|
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
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.
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.
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.
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.
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.
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.
public void generateAzureAccessToken(GenerateAzureAccessTokenRequest request, StreamObserver<GenerateAzureAccessTokenResponse> responseObserver)
Generates a short-lived access token to authenticate to a given
AzureCluster resource.
public void getAzureClient(GetAzureClientRequest request, StreamObserver<AzureClient> responseObserver)
Describes a specific
AzureClient resource.
public void getAzureCluster(GetAzureClusterRequest request, StreamObserver<AzureCluster> responseObserver)
Describes a specific
AzureCluster resource.
public void getAzureNodePool(GetAzureNodePoolRequest request, StreamObserver<AzureNodePool> responseObserver)
Describes a specific
AzureNodePool resource.
public void getAzureServerConfig(GetAzureServerConfigRequest request, StreamObserver<AzureServerConfig> responseObserver)
Returns information, such as supported Azure regions and Kubernetes
versions, on a given Google Cloud location.
public void listAzureClients(ListAzureClientsRequest request, StreamObserver<ListAzureClientsResponse> responseObserver)
Lists all AzureClient
resources on a given Google Cloud project and region.
public void listAzureClusters(ListAzureClustersRequest request, StreamObserver<ListAzureClustersResponse> responseObserver)
Lists all AzureCluster
resources on a given Google Cloud project and region.
public void listAzureNodePools(ListAzureNodePoolsRequest request, StreamObserver<ListAzureNodePoolsResponse> responseObserver)
Lists all AzureNodePool
resources on a given
AzureCluster.
public void updateAzureCluster(UpdateAzureClusterRequest request, StreamObserver<Operation> responseObserver)
public void updateAzureNodePool(UpdateAzureNodePoolRequest request, StreamObserver<Operation> responseObserver)
Updates an AzureNodePool.