Anthos Multi-Cloud v1 API - Class AttachedClustersClientImpl (2.4.0)

public sealed class AttachedClustersClientImpl : AttachedClustersClient

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class AttachedClustersClientImpl.

AttachedClusters client wrapper implementation, for convenient use.

Inheritance

object > AttachedClustersClient > AttachedClustersClientImpl

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Remarks

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

Constructors

AttachedClustersClientImpl(AttachedClustersClient, AttachedClustersSettings, ILogger)

public AttachedClustersClientImpl(AttachedClusters.AttachedClustersClient grpcClient, AttachedClustersSettings settings, ILogger logger)

Constructs a client wrapper for the AttachedClusters service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientAttachedClustersAttachedClustersClient

The underlying gRPC client.

settingsAttachedClustersSettings

The base AttachedClustersSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateAttachedClusterOperationsClient

public override OperationsClient CreateAttachedClusterOperationsClient { get; }

The long-running operations client for CreateAttachedCluster.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteAttachedClusterOperationsClient

public override OperationsClient DeleteAttachedClusterOperationsClient { get; }

The long-running operations client for DeleteAttachedCluster.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override AttachedClusters.AttachedClustersClient GrpcClient { get; }

The underlying gRPC AttachedClusters client

Property Value
TypeDescription
AttachedClustersAttachedClustersClient
Overrides

ImportAttachedClusterOperationsClient

public override OperationsClient ImportAttachedClusterOperationsClient { get; }

The long-running operations client for ImportAttachedCluster.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateAttachedClusterOperationsClient

public override OperationsClient UpdateAttachedClusterOperationsClient { get; }

The long-running operations client for UpdateAttachedCluster.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateAttachedCluster(CreateAttachedClusterRequest, CallSettings)

public override Operation<AttachedCluster, OperationMetadata> CreateAttachedCluster(CreateAttachedClusterRequest request, CallSettings callSettings = null)

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
NameDescription
requestCreateAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAttachedClusterOperationMetadata

The RPC response.

Overrides

CreateAttachedClusterAsync(CreateAttachedClusterRequest, CallSettings)

public override Task<Operation<AttachedCluster, OperationMetadata>> CreateAttachedClusterAsync(CreateAttachedClusterRequest request, CallSettings callSettings = null)

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
NameDescription
requestCreateAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAttachedClusterOperationMetadata

A Task containing the RPC response.

Overrides

DeleteAttachedCluster(DeleteAttachedClusterRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteAttachedCluster(DeleteAttachedClusterRequest request, CallSettings callSettings = null)

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
NameDescription
requestDeleteAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteAttachedClusterAsync(DeleteAttachedClusterRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteAttachedClusterAsync(DeleteAttachedClusterRequest request, CallSettings callSettings = null)

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
NameDescription
requestDeleteAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest, CallSettings)

public override GenerateAttachedClusterAgentTokenResponse GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, CallSettings callSettings = null)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GenerateAttachedClusterAgentTokenResponse

The RPC response.

Overrides

GenerateAttachedClusterAgentTokenAsync(GenerateAttachedClusterAgentTokenRequest, CallSettings)

public override Task<GenerateAttachedClusterAgentTokenResponse> GenerateAttachedClusterAgentTokenAsync(GenerateAttachedClusterAgentTokenRequest request, CallSettings callSettings = null)

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAttachedClusterAgentTokenRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerateAttachedClusterAgentTokenResponse

A Task containing the RPC response.

Overrides

GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, CallSettings)

public override GenerateAttachedClusterInstallManifestResponse GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GenerateAttachedClusterInstallManifestResponse

The RPC response.

Overrides

GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest, CallSettings)

public override Task<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifestAsync(GenerateAttachedClusterInstallManifestRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGenerateAttachedClusterInstallManifestRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerateAttachedClusterInstallManifestResponse

A Task containing the RPC response.

Overrides

GetAttachedCluster(GetAttachedClusterRequest, CallSettings)

public override AttachedCluster GetAttachedCluster(GetAttachedClusterRequest request, CallSettings callSettings = null)

Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.

Parameters
NameDescription
requestGetAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AttachedCluster

The RPC response.

Overrides

GetAttachedClusterAsync(GetAttachedClusterRequest, CallSettings)

public override Task<AttachedCluster> GetAttachedClusterAsync(GetAttachedClusterRequest request, CallSettings callSettings = null)

Describes a specific [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource.

Parameters
NameDescription
requestGetAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAttachedCluster

A Task containing the RPC response.

Overrides

GetAttachedServerConfig(GetAttachedServerConfigRequest, CallSettings)

public override AttachedServerConfig GetAttachedServerConfig(GetAttachedServerConfigRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAttachedServerConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AttachedServerConfig

The RPC response.

Overrides

GetAttachedServerConfigAsync(GetAttachedServerConfigRequest, CallSettings)

public override Task<AttachedServerConfig> GetAttachedServerConfigAsync(GetAttachedServerConfigRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAttachedServerConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAttachedServerConfig

A Task containing the RPC response.

Overrides

ImportAttachedCluster(ImportAttachedClusterRequest, CallSettings)

public override Operation<AttachedCluster, OperationMetadata> ImportAttachedCluster(ImportAttachedClusterRequest request, CallSettings callSettings = null)

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
NameDescription
requestImportAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAttachedClusterOperationMetadata

The RPC response.

Overrides

ImportAttachedClusterAsync(ImportAttachedClusterRequest, CallSettings)

public override Task<Operation<AttachedCluster, OperationMetadata>> ImportAttachedClusterAsync(ImportAttachedClusterRequest request, CallSettings callSettings = null)

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
NameDescription
requestImportAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAttachedClusterOperationMetadata

A Task containing the RPC response.

Overrides

ListAttachedClusters(ListAttachedClustersRequest, CallSettings)

public override PagedEnumerable<ListAttachedClustersResponse, AttachedCluster> ListAttachedClusters(ListAttachedClustersRequest request, CallSettings callSettings = null)

Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAttachedClustersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAttachedClustersResponseAttachedCluster

A pageable sequence of AttachedCluster resources.

Overrides

ListAttachedClustersAsync(ListAttachedClustersRequest, CallSettings)

public override PagedAsyncEnumerable<ListAttachedClustersResponse, AttachedCluster> ListAttachedClustersAsync(ListAttachedClustersRequest request, CallSettings callSettings = null)

Lists all [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAttachedClustersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAttachedClustersResponseAttachedCluster

A pageable asynchronous sequence of AttachedCluster resources.

Overrides

UpdateAttachedCluster(UpdateAttachedClusterRequest, CallSettings)

public override Operation<AttachedCluster, OperationMetadata> UpdateAttachedCluster(UpdateAttachedClusterRequest request, CallSettings callSettings = null)

Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

Parameters
NameDescription
requestUpdateAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAttachedClusterOperationMetadata

The RPC response.

Overrides

UpdateAttachedClusterAsync(UpdateAttachedClusterRequest, CallSettings)

public override Task<Operation<AttachedCluster, OperationMetadata>> UpdateAttachedClusterAsync(UpdateAttachedClusterRequest request, CallSettings callSettings = null)

Updates an [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

Parameters
NameDescription
requestUpdateAttachedClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAttachedClusterOperationMetadata

A Task containing the RPC response.

Overrides