public static final class AttachedClustersGrpc.AttachedClustersStub extends io.grpc.stub.AbstractAsyncStub<AttachedClustersGrpc.AttachedClustersStub>
The AttachedClusters API provides a single centrally managed service to register and manage Anthos attached clusters that run on customer's owned infrastructure.
| Modifier and Type | Method and Description |
|---|---|
protected AttachedClustersGrpc.AttachedClustersStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createAttachedCluster(CreateAttachedClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
on a given Google Cloud Platform project and region.
|
void |
deleteAttachedCluster(DeleteAttachedClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a specific
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
|
void |
generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request,
io.grpc.stub.StreamObserver<GenerateAttachedClusterAgentTokenResponse> responseObserver)
Generates an access token for a cluster agent.
|
void |
generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request,
io.grpc.stub.StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)
Generates the install manifest to be installed on the target cluster.
|
void |
getAttachedCluster(GetAttachedClusterRequest request,
io.grpc.stub.StreamObserver<AttachedCluster> responseObserver)
Describes a specific
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
|
void |
getAttachedServerConfig(GetAttachedServerConfigRequest request,
io.grpc.stub.StreamObserver<AttachedServerConfig> responseObserver)
Returns information, such as supported Kubernetes versions, on a given
Google Cloud location.
|
void |
importAttachedCluster(ImportAttachedClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Imports creates a new
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource
by importing an existing Fleet Membership resource.
|
void |
listAttachedClusters(ListAttachedClustersRequest request,
io.grpc.stub.StreamObserver<ListAttachedClustersResponse> responseObserver)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]
resources on a given Google Cloud project and region.
|
void |
updateAttachedCluster(UpdateAttachedClusterRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an
[AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
|
protected AttachedClustersGrpc.AttachedClustersStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AttachedClustersGrpc.AttachedClustersStub>public void createAttachedCluster(CreateAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource on a given Google Cloud Platform project and region. If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
public void updateAttachedCluster(UpdateAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
public void importAttachedCluster(ImportAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Imports creates a new [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource by importing an existing Fleet Membership resource. Attached Clusters created before the introduction of the Anthos Multi-Cloud API can be imported through this method. If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
public void getAttachedCluster(GetAttachedClusterRequest request, io.grpc.stub.StreamObserver<AttachedCluster> responseObserver)
Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
public void listAttachedClusters(ListAttachedClustersRequest request, io.grpc.stub.StreamObserver<ListAttachedClustersResponse> responseObserver)
Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
public void deleteAttachedCluster(DeleteAttachedClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource. If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
public void getAttachedServerConfig(GetAttachedServerConfigRequest request, io.grpc.stub.StreamObserver<AttachedServerConfig> responseObserver)
Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
public void generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, io.grpc.stub.StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)
Generates the install manifest to be installed on the target cluster.
public void generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, io.grpc.stub.StreamObserver<GenerateAttachedClusterAgentTokenResponse> responseObserver)
Generates an access token for a cluster agent.
Copyright © 2024 Google LLC. All rights reserved.