public static final class AttachedClustersGrpc.AttachedClustersBlockingV2Stub extends AbstractBlockingStub<AttachedClustersGrpc.AttachedClustersBlockingV2Stub>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.AttachedClustersBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected AttachedClustersGrpc.AttachedClustersBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
AttachedClustersGrpc.AttachedClustersBlockingV2Stub |
|
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 | |
|---|---|
| Name | Description |
request |
CreateAttachedClusterRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 | |
|---|---|
| Name | Description |
request |
DeleteAttachedClusterRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)
public GenerateAttachedClusterAgentTokenResponse generateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request)Generates an access token for a cluster agent.
| Parameter | |
|---|---|
| Name | Description |
request |
GenerateAttachedClusterAgentTokenRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterAgentTokenResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)
public GenerateAttachedClusterInstallManifestResponse generateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request)Generates the install manifest to be installed on the target cluster.
| Parameter | |
|---|---|
| Name | Description |
request |
GenerateAttachedClusterInstallManifestRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateAttachedClusterInstallManifestResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getAttachedCluster(GetAttachedClusterRequest request)
public AttachedCluster getAttachedCluster(GetAttachedClusterRequest request)Describes a specific AttachedCluster resource.
| Parameter | |
|---|---|
| Name | Description |
request |
GetAttachedClusterRequest |
| Returns | |
|---|---|
| Type | Description |
AttachedCluster |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getAttachedServerConfig(GetAttachedServerConfigRequest request)
public AttachedServerConfig getAttachedServerConfig(GetAttachedServerConfigRequest request)Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
| Parameter | |
|---|---|
| Name | Description |
request |
GetAttachedServerConfigRequest |
| Returns | |
|---|---|
| Type | Description |
AttachedServerConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 | |
|---|---|
| Name | Description |
request |
ImportAttachedClusterRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listAttachedClusters(ListAttachedClustersRequest request)
public ListAttachedClustersResponse listAttachedClusters(ListAttachedClustersRequest request)Lists all AttachedCluster resources on a given Google Cloud project and region.
| Parameter | |
|---|---|
| Name | Description |
request |
ListAttachedClustersRequest |
| Returns | |
|---|---|
| Type | Description |
ListAttachedClustersResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateAttachedCluster(UpdateAttachedClusterRequest request)
public Operation updateAttachedCluster(UpdateAttachedClusterRequest request)Updates an AttachedCluster.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateAttachedClusterRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|