Class AttachedClustersGrpc.AttachedClustersBlockingStub (0.27.0)

public static final class AttachedClustersGrpc.AttachedClustersBlockingStub extends AbstractBlockingStub<AttachedClustersGrpc.AttachedClustersBlockingStub>

A stub to allow clients to do synchronous rpc calls to service AttachedClusters.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AttachedClustersGrpc.AttachedClustersBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AttachedClustersGrpc.AttachedClustersBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AttachedClustersGrpc.AttachedClustersBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAttachedCluster(CreateAttachedClusterRequest request)

public Operation createAttachedCluster(CreateAttachedClusterRequest request)

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.

Parameter
NameDescription
requestCreateAttachedClusterRequest
Returns
TypeDescription
Operation

deleteAttachedCluster(DeleteAttachedClusterRequest request)

public Operation deleteAttachedCluster(DeleteAttachedClusterRequest request)

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.

Parameter
NameDescription
requestDeleteAttachedClusterRequest
Returns
TypeDescription
Operation

generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)

public GenerateAttachedClusterInstallManifestResponse generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)

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

Parameter
NameDescription
requestGenerateAttachedClusterInstallManifestRequest
Returns
TypeDescription
GenerateAttachedClusterInstallManifestResponse

getAttachedCluster(GetAttachedClusterRequest request)

public AttachedCluster getAttachedCluster(GetAttachedClusterRequest request)

Describes a specific AttachedCluster resource.

Parameter
NameDescription
requestGetAttachedClusterRequest
Returns
TypeDescription
AttachedCluster

getAttachedServerConfig(GetAttachedServerConfigRequest request)

public AttachedServerConfig getAttachedServerConfig(GetAttachedServerConfigRequest request)

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

Parameter
NameDescription
requestGetAttachedServerConfigRequest
Returns
TypeDescription
AttachedServerConfig

importAttachedCluster(ImportAttachedClusterRequest request)

public Operation importAttachedCluster(ImportAttachedClusterRequest request)

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.

Parameter
NameDescription
requestImportAttachedClusterRequest
Returns
TypeDescription
Operation

listAttachedClusters(ListAttachedClustersRequest request)

public ListAttachedClustersResponse listAttachedClusters(ListAttachedClustersRequest request)

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

Parameter
NameDescription
requestListAttachedClustersRequest
Returns
TypeDescription
ListAttachedClustersResponse

updateAttachedCluster(UpdateAttachedClusterRequest request)

public Operation updateAttachedCluster(UpdateAttachedClusterRequest request)

Updates an AttachedCluster.

Parameter
NameDescription
requestUpdateAttachedClusterRequest
Returns
TypeDescription
Operation