[BindServiceMethod(typeof(AttachedClusters), "BindService")]
public abstract class AttachedClusters.AttachedClustersBaseReference documentation and code samples for the Anthos Multi-Cloud v1 API class AttachedClusters.AttachedClustersBase.
Base class for server-side implementations of AttachedClusters
Namespace
Google.Cloud.GkeMultiCloud.V1Assembly
Google.Cloud.GkeMultiCloud.V1.dll
Methods
CreateAttachedCluster(CreateAttachedClusterRequest, ServerCallContext)
public virtual Task<Operation> CreateAttachedCluster(CreateAttachedClusterRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAttachedClusterRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteAttachedCluster(DeleteAttachedClusterRequest, ServerCallContext)
public virtual Task<Operation> DeleteAttachedCluster(DeleteAttachedClusterRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAttachedClusterRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest, ServerCallContext)
public virtual Task<GenerateAttachedClusterAgentTokenResponse> GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, ServerCallContext context)Generates an access token for a cluster agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAttachedClusterAgentTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAttachedClusterAgentTokenResponse |
The response to send back to the client (wrapped by a task). |
GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, ServerCallContext)
public virtual Task<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, ServerCallContext context)Generates the install manifest to be installed on the target cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAttachedClusterInstallManifestRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAttachedClusterInstallManifestResponse |
The response to send back to the client (wrapped by a task). |
GetAttachedCluster(GetAttachedClusterRequest, ServerCallContext)
public virtual Task<AttachedCluster> GetAttachedCluster(GetAttachedClusterRequest request, ServerCallContext context)Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAttachedClusterRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAttachedCluster |
The response to send back to the client (wrapped by a task). |
GetAttachedServerConfig(GetAttachedServerConfigRequest, ServerCallContext)
public virtual Task<AttachedServerConfig> GetAttachedServerConfig(GetAttachedServerConfigRequest request, ServerCallContext context)Returns information, such as supported Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAttachedServerConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAttachedServerConfig |
The response to send back to the client (wrapped by a task). |
ImportAttachedCluster(ImportAttachedClusterRequest, ServerCallContext)
public virtual Task<Operation> ImportAttachedCluster(ImportAttachedClusterRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportAttachedClusterRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ListAttachedClusters(ListAttachedClustersRequest, ServerCallContext)
public virtual Task<ListAttachedClustersResponse> ListAttachedClusters(ListAttachedClustersRequest request, ServerCallContext context)Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAttachedClustersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAttachedClustersResponse |
The response to send back to the client (wrapped by a task). |
UpdateAttachedCluster(UpdateAttachedClusterRequest, ServerCallContext)
public virtual Task<Operation> UpdateAttachedCluster(UpdateAttachedClusterRequest request, ServerCallContext context)Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAttachedClusterRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |