Interface AttachedClustersGrpc.AsyncService (0.22.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
NameDescription
requestCreateAttachedClusterRequest
responseObserverio.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
NameDescription
requestDeleteAttachedClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

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
NameDescription
requestGenerateAttachedClusterInstallManifestRequest
responseObserverio.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
NameDescription
requestGetAttachedClusterRequest
responseObserverio.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
NameDescription
requestGetAttachedServerConfigRequest
responseObserverio.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
NameDescription
requestImportAttachedClusterRequest
responseObserverio.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
NameDescription
requestListAttachedClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListAttachedClustersResponse>

updateAttachedCluster(UpdateAttachedClusterRequest request, StreamObserver<Operation> responseObserver)

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

Updates an AttachedCluster.

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