Interface AttachedClustersGrpc.AsyncService (0.53.0)

public static interface AttachedClustersGrpc.AsyncService

The AttachedClusters API provides a single centrally managed service to register and manage Anthos attached clusters that run on customer's owned infrastructure.

Methods

createAttachedCluster(CreateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public default void createAttachedCluster(CreateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

Creates a new AttachedCluster 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 CreateAttachedClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteAttachedCluster(DeleteAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public default void deleteAttachedCluster(DeleteAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

Deletes a specific AttachedCluster 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 DeleteAttachedClusterRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, StreamObserver<GenerateAttachedClusterAgentTokenResponse> responseObserver)

public default void generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, StreamObserver<GenerateAttachedClusterAgentTokenResponse> responseObserver)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAttachedClusterAgentTokenRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAttachedClusterAgentTokenResponse>

generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)

public default void generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, StreamObserver<GenerateAttachedClusterInstallManifestResponse> responseObserver)

Generates the install manifest to be installed on the target cluster.

Parameters
Name Description
request GenerateAttachedClusterInstallManifestRequest
responseObserver io.grpc.stub.StreamObserver<GenerateAttachedClusterInstallManifestResponse>

getAttachedCluster(GetAttachedClusterRequest request, StreamObserver<AttachedCluster> responseObserver)

public default void getAttachedCluster(GetAttachedClusterRequest request, StreamObserver<AttachedCluster> responseObserver)

Describes a specific AttachedCluster resource.

Parameters
Name Description
request GetAttachedClusterRequest
responseObserver io.grpc.stub.StreamObserver<AttachedCluster>

getAttachedServerConfig(GetAttachedServerConfigRequest request, StreamObserver<AttachedServerConfig> responseObserver)

public default void getAttachedServerConfig(GetAttachedServerConfigRequest request, StreamObserver<AttachedServerConfig> responseObserver)

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

Parameters
Name Description
request GetAttachedServerConfigRequest
responseObserver io.grpc.stub.StreamObserver<AttachedServerConfig>

importAttachedCluster(ImportAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public default void importAttachedCluster(ImportAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

Imports creates a new 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 resource that can be described to track the status of the operation.

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

listAttachedClusters(ListAttachedClustersRequest request, StreamObserver<ListAttachedClustersResponse> responseObserver)

public default void listAttachedClusters(ListAttachedClustersRequest request, StreamObserver<ListAttachedClustersResponse> responseObserver)

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

Parameters
Name Description
request ListAttachedClustersRequest
responseObserver io.grpc.stub.StreamObserver<ListAttachedClustersResponse>

updateAttachedCluster(UpdateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

public default void updateAttachedCluster(UpdateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

Updates an AttachedCluster.

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