[Obsolete]
public abstract class AwsClustersClientReference documentation and code samples for the Anthos Multi-Cloud v1 API class AwsClustersClient.
AwsClusters client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.GkeMultiCloud.V1Assembly
Google.Cloud.GkeMultiCloud.V1.dll
Remarks
The AwsClusters API provides a single centrally managed service to create and manage Anthos clusters that run on AWS infrastructure.
Properties
CreateAwsClusterOperationsClient
public virtual OperationsClient CreateAwsClusterOperationsClient { get; }The long-running operations client for CreateAwsCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateAwsNodePoolOperationsClient
public virtual OperationsClient CreateAwsNodePoolOperationsClient { get; }The long-running operations client for CreateAwsNodePool.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the AwsClusters service, which is a host of "gkemulticloud.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default AwsClusters scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default AwsClusters scopes are:
DeleteAwsClusterOperationsClient
public virtual OperationsClient DeleteAwsClusterOperationsClient { get; }The long-running operations client for DeleteAwsCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteAwsNodePoolOperationsClient
public virtual OperationsClient DeleteAwsNodePoolOperationsClient { get; }The long-running operations client for DeleteAwsNodePool.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public virtual AwsClusters.AwsClustersClient GrpcClient { get; }The underlying gRPC AwsClusters client
| Property Value | |
|---|---|
| Type | Description |
AwsClustersAwsClustersClient |
|
RollbackAwsNodePoolUpdateOperationsClient
public virtual OperationsClient RollbackAwsNodePoolUpdateOperationsClient { get; }The long-running operations client for RollbackAwsNodePoolUpdate.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
UpdateAwsClusterOperationsClient
public virtual OperationsClient UpdateAwsClusterOperationsClient { get; }The long-running operations client for UpdateAwsCluster.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateAwsNodePoolOperationsClient
public virtual OperationsClient UpdateAwsNodePoolOperationsClient { get; }The long-running operations client for UpdateAwsNodePool.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
Create()
public static AwsClustersClient Create()Synchronously creates a AwsClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AwsClustersClientBuilder.
| Returns | |
|---|---|
| Type | Description |
AwsClustersClient |
The created AwsClustersClient. |
CreateAsync(CancellationToken)
public static Task<AwsClustersClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a AwsClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AwsClustersClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsClustersClient |
The task representing the created AwsClustersClient. |
CreateAwsCluster(LocationName, AwsCluster, string, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> CreateAwsCluster(LocationName parent, AwsCluster awsCluster, string awsClusterId, CallSettings callSettings = null)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
parent |
LocationNameRequired. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
awsCluster |
AwsClusterRequired. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create. |
awsClusterId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
string awsClusterId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = awsClustersClient.CreateAwsCluster(parent, awsCluster, awsClusterId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceCreateAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsCluster(CreateAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> CreateAwsCluster(CreateAwsClusterRequest request, CallSettings callSettings = null)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
CreateAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
CreateAwsClusterRequest request = new CreateAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = awsClustersClient.CreateAwsCluster(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceCreateAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsCluster(string, AwsCluster, string, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> CreateAwsCluster(string parent, AwsCluster awsCluster, string awsClusterId, CallSettings callSettings = null)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
parent |
stringRequired. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
awsCluster |
AwsClusterRequired. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create. |
awsClusterId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
string awsClusterId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = awsClustersClient.CreateAwsCluster(parent, awsCluster, awsClusterId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceCreateAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsClusterAsync(LocationName, AwsCluster, string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> CreateAwsClusterAsync(LocationName parent, AwsCluster awsCluster, string awsClusterId, CallSettings callSettings = null)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
parent |
LocationNameRequired. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
awsCluster |
AwsClusterRequired. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create. |
awsClusterId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
string awsClusterId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.CreateAwsClusterAsync(parent, awsCluster, awsClusterId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsClusterAsync(LocationName, AwsCluster, string, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> CreateAwsClusterAsync(LocationName parent, AwsCluster awsCluster, string awsClusterId, CancellationToken cancellationToken)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
parent |
LocationNameRequired. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
awsCluster |
AwsClusterRequired. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create. |
awsClusterId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name
formatted as
Valid characters are |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
string awsClusterId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.CreateAwsClusterAsync(parent, awsCluster, awsClusterId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsClusterAsync(CreateAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> CreateAwsClusterAsync(CreateAwsClusterRequest request, CallSettings callSettings = null)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
CreateAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
CreateAwsClusterRequest request = new CreateAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.CreateAwsClusterAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsClusterAsync(CreateAwsClusterRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> CreateAwsClusterAsync(CreateAwsClusterRequest request, CancellationToken cancellationToken)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
CreateAwsClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
CreateAwsClusterRequest request = new CreateAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.CreateAwsClusterAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsClusterAsync(string, AwsCluster, string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> CreateAwsClusterAsync(string parent, AwsCluster awsCluster, string awsClusterId, CallSettings callSettings = null)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
parent |
stringRequired. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
awsCluster |
AwsClusterRequired. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create. |
awsClusterId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
string awsClusterId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.CreateAwsClusterAsync(parent, awsCluster, awsClusterId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsClusterAsync(string, AwsCluster, string, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> CreateAwsClusterAsync(string parent, AwsCluster awsCluster, string awsClusterId, CancellationToken cancellationToken)Creates a new [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] 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 |
parent |
stringRequired. The parent location where this [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
awsCluster |
AwsClusterRequired. The specification of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to create. |
awsClusterId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource name
formatted as
Valid characters are |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
string awsClusterId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.CreateAwsClusterAsync(parent, awsCluster, awsClusterId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePool(AwsClusterName, AwsNodePool, string, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> CreateAwsNodePool(AwsClusterName parent, AwsNodePool awsNodePool, string awsNodePoolId, CallSettings callSettings = null)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
parent |
AwsClusterNameRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
See Resource Names for more details on Google Cloud resource names. |
awsNodePool |
AwsNodePoolRequired. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create. |
awsNodePoolId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsClusterName parent = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
string awsNodePoolId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.CreateAwsNodePool(parent, awsNodePool, awsNodePoolId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceCreateAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePool(CreateAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> CreateAwsNodePool(CreateAwsNodePoolRequest request, CallSettings callSettings = null)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
CreateAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
CreateAwsNodePoolRequest request = new CreateAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.CreateAwsNodePool(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceCreateAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePool(string, AwsNodePool, string, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> CreateAwsNodePool(string parent, AwsNodePool awsNodePool, string awsNodePoolId, CallSettings callSettings = null)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
parent |
stringRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
See Resource Names for more details on Google Cloud resource names. |
awsNodePool |
AwsNodePoolRequired. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create. |
awsNodePoolId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
string awsNodePoolId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.CreateAwsNodePool(parent, awsNodePool, awsNodePoolId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceCreateAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePoolAsync(AwsClusterName, AwsNodePool, string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> CreateAwsNodePoolAsync(AwsClusterName parent, AwsNodePool awsNodePool, string awsNodePoolId, CallSettings callSettings = null)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
parent |
AwsClusterNameRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
See Resource Names for more details on Google Cloud resource names. |
awsNodePool |
AwsNodePoolRequired. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create. |
awsNodePoolId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName parent = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
string awsNodePoolId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.CreateAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePoolAsync(AwsClusterName, AwsNodePool, string, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> CreateAwsNodePoolAsync(AwsClusterName parent, AwsNodePool awsNodePool, string awsNodePoolId, CancellationToken cancellationToken)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
parent |
AwsClusterNameRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
See Resource Names for more details on Google Cloud resource names. |
awsNodePool |
AwsNodePoolRequired. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create. |
awsNodePoolId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name
formatted as
Valid characters are |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName parent = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
string awsNodePoolId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.CreateAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePoolAsync(CreateAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> CreateAwsNodePoolAsync(CreateAwsNodePoolRequest request, CallSettings callSettings = null)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
CreateAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
CreateAwsNodePoolRequest request = new CreateAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.CreateAwsNodePoolAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePoolAsync(CreateAwsNodePoolRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> CreateAwsNodePoolAsync(CreateAwsNodePoolRequest request, CancellationToken cancellationToken)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
CreateAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
CreateAwsNodePoolRequest request = new CreateAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.CreateAwsNodePoolAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePoolAsync(string, AwsNodePool, string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> CreateAwsNodePoolAsync(string parent, AwsNodePool awsNodePool, string awsNodePoolId, CallSettings callSettings = null)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
parent |
stringRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
See Resource Names for more details on Google Cloud resource names. |
awsNodePool |
AwsNodePoolRequired. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create. |
awsNodePoolId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name
formatted as
Valid characters are |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
string awsNodePoolId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.CreateAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
CreateAwsNodePoolAsync(string, AwsNodePool, string, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> CreateAwsNodePoolAsync(string parent, AwsNodePool awsNodePool, string awsNodePoolId, CancellationToken cancellationToken)Creates a new [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool], attached to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
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 |
parent |
stringRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource where this node pool will be created.
See Resource Names for more details on Google Cloud resource names. |
awsNodePool |
AwsNodePoolRequired. The specification of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to create. |
awsNodePoolId |
stringRequired. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the
[AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource name
formatted as
Valid characters are |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
string awsNodePoolId = "";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.CreateAwsNodePoolAsync(parent, awsNodePool, awsNodePoolId);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceCreateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
DeleteAwsCluster(AwsClusterName, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> DeleteAwsCluster(AwsClusterName name, CallSettings callSettings = null)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
name |
AwsClusterNameRequired. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsClusterName name = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = awsClustersClient.DeleteAwsCluster(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceDeleteAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsCluster(DeleteAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> DeleteAwsCluster(DeleteAwsClusterRequest request, CallSettings callSettings = null)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
DeleteAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
DeleteAwsClusterRequest request = new DeleteAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = awsClustersClient.DeleteAwsCluster(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceDeleteAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsCluster(string, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> DeleteAwsCluster(string name, CallSettings callSettings = null)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
name |
stringRequired. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = awsClustersClient.DeleteAwsCluster(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceDeleteAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsClusterAsync(AwsClusterName, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsClusterAsync(AwsClusterName name, CallSettings callSettings = null)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
name |
AwsClusterNameRequired. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName name = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsClusterAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsClusterAsync(AwsClusterName, CancellationToken)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsClusterAsync(AwsClusterName name, CancellationToken cancellationToken)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
name |
AwsClusterNameRequired. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
See Resource Names for more details on Google Cloud Platform resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName name = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsClusterAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsClusterAsync(DeleteAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsClusterAsync(DeleteAwsClusterRequest request, CallSettings callSettings = null)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
DeleteAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
DeleteAwsClusterRequest request = new DeleteAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsClusterAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsClusterAsync(DeleteAwsClusterRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsClusterAsync(DeleteAwsClusterRequest request, CancellationToken cancellationToken)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
DeleteAwsClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
DeleteAwsClusterRequest request = new DeleteAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsClusterAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsClusterAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsClusterAsync(string name, CallSettings callSettings = null)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
name |
stringRequired. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsClusterAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsClusterAsync(string, CancellationToken)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsClusterAsync(string name, CancellationToken cancellationToken)Deletes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
Fails if the cluster has one or more associated [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources.
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 |
name |
stringRequired. The resource name the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] to delete.
See Resource Names for more details on Google Cloud Platform resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsClusterAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePool(AwsNodePoolName, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> DeleteAwsNodePool(AwsNodePoolName name, CallSettings callSettings = null)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
name |
AwsNodePoolNameRequired. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = awsClustersClient.DeleteAwsNodePool(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceDeleteAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePool(DeleteAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> DeleteAwsNodePool(DeleteAwsNodePoolRequest request, CallSettings callSettings = null)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
DeleteAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
DeleteAwsNodePoolRequest request = new DeleteAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = awsClustersClient.DeleteAwsNodePool(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceDeleteAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePool(string, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> DeleteAwsNodePool(string name, CallSettings callSettings = null)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
name |
stringRequired. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = awsClustersClient.DeleteAwsNodePool(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceDeleteAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePoolAsync(AwsNodePoolName, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsNodePoolAsync(AwsNodePoolName name, CallSettings callSettings = null)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
name |
AwsNodePoolNameRequired. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsNodePoolAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePoolAsync(AwsNodePoolName, CancellationToken)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsNodePoolAsync(AwsNodePoolName name, CancellationToken cancellationToken)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
name |
AwsNodePoolNameRequired. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsNodePoolAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePoolAsync(DeleteAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsNodePoolAsync(DeleteAwsNodePoolRequest request, CallSettings callSettings = null)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
DeleteAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
DeleteAwsNodePoolRequest request = new DeleteAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsNodePoolAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePoolAsync(DeleteAwsNodePoolRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsNodePoolAsync(DeleteAwsNodePoolRequest request, CancellationToken cancellationToken)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
DeleteAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
DeleteAwsNodePoolRequest request = new DeleteAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsNodePoolAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePoolAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsNodePoolAsync(string name, CallSettings callSettings = null)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
name |
stringRequired. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsNodePoolAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
DeleteAwsNodePoolAsync(string, CancellationToken)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> DeleteAwsNodePoolAsync(string name, CancellationToken cancellationToken)Deletes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] 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 |
name |
stringRequired. The resource name the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> response = await awsClustersClient.DeleteAwsNodePoolAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<Empty, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceDeleteAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
GenerateAwsAccessToken(GenerateAwsAccessTokenRequest, CallSettings)
[Obsolete]
public virtual GenerateAwsAccessTokenResponse GenerateAwsAccessToken(GenerateAwsAccessTokenRequest request, CallSettings callSettings = null)Generates a short-lived access token to authenticate to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAwsAccessTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateAwsAccessTokenResponse |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAwsAccessTokenRequest request = new GenerateAwsAccessTokenRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
GenerateAwsAccessTokenResponse response = awsClustersClient.GenerateAwsAccessToken(request);
#pragma warning restore CS0612
GenerateAwsAccessTokenAsync(GenerateAwsAccessTokenRequest, CallSettings)
[Obsolete]
public virtual Task<GenerateAwsAccessTokenResponse> GenerateAwsAccessTokenAsync(GenerateAwsAccessTokenRequest request, CallSettings callSettings = null)Generates a short-lived access token to authenticate to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAwsAccessTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAwsAccessTokenResponse |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAwsAccessTokenRequest request = new GenerateAwsAccessTokenRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
GenerateAwsAccessTokenResponse response = await awsClustersClient.GenerateAwsAccessTokenAsync(request);
#pragma warning restore CS0612
GenerateAwsAccessTokenAsync(GenerateAwsAccessTokenRequest, CancellationToken)
[Obsolete]
public virtual Task<GenerateAwsAccessTokenResponse> GenerateAwsAccessTokenAsync(GenerateAwsAccessTokenRequest request, CancellationToken cancellationToken)Generates a short-lived access token to authenticate to a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAwsAccessTokenRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAwsAccessTokenResponse |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAwsAccessTokenRequest request = new GenerateAwsAccessTokenRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
GenerateAwsAccessTokenResponse response = await awsClustersClient.GenerateAwsAccessTokenAsync(request);
#pragma warning restore CS0612
GenerateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest, CallSettings)
[Obsolete]
public virtual GenerateAwsClusterAgentTokenResponse GenerateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest request, CallSettings callSettings = null)Generates an access token for a cluster agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAwsClusterAgentTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateAwsClusterAgentTokenResponse |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAwsClusterAgentTokenRequest request = new GenerateAwsClusterAgentTokenRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
GenerateAwsClusterAgentTokenResponse response = awsClustersClient.GenerateAwsClusterAgentToken(request);
#pragma warning restore CS0612
GenerateAwsClusterAgentTokenAsync(GenerateAwsClusterAgentTokenRequest, CallSettings)
[Obsolete]
public virtual Task<GenerateAwsClusterAgentTokenResponse> GenerateAwsClusterAgentTokenAsync(GenerateAwsClusterAgentTokenRequest request, CallSettings callSettings = null)Generates an access token for a cluster agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAwsClusterAgentTokenRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAwsClusterAgentTokenResponse |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAwsClusterAgentTokenRequest request = new GenerateAwsClusterAgentTokenRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
GenerateAwsClusterAgentTokenResponse response = await awsClustersClient.GenerateAwsClusterAgentTokenAsync(request);
#pragma warning restore CS0612
GenerateAwsClusterAgentTokenAsync(GenerateAwsClusterAgentTokenRequest, CancellationToken)
[Obsolete]
public virtual Task<GenerateAwsClusterAgentTokenResponse> GenerateAwsClusterAgentTokenAsync(GenerateAwsClusterAgentTokenRequest request, CancellationToken cancellationToken)Generates an access token for a cluster agent.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateAwsClusterAgentTokenRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateAwsClusterAgentTokenResponse |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GenerateAwsClusterAgentTokenRequest request = new GenerateAwsClusterAgentTokenRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
GenerateAwsClusterAgentTokenResponse response = await awsClustersClient.GenerateAwsClusterAgentTokenAsync(request);
#pragma warning restore CS0612
GetAwsCluster(AwsClusterName, CallSettings)
[Obsolete]
public virtual AwsCluster GetAwsCluster(AwsClusterName name, CallSettings callSettings = null)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsClusterNameRequired. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsCluster |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsClusterName name = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
AwsCluster response = awsClustersClient.GetAwsCluster(name);
#pragma warning restore CS0612
GetAwsCluster(GetAwsClusterRequest, CallSettings)
[Obsolete]
public virtual AwsCluster GetAwsCluster(GetAwsClusterRequest request, CallSettings callSettings = null)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsCluster |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsClusterRequest request = new GetAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsCluster response = awsClustersClient.GetAwsCluster(request);
#pragma warning restore CS0612
GetAwsCluster(string, CallSettings)
[Obsolete]
public virtual AwsCluster GetAwsCluster(string name, CallSettings callSettings = null)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsCluster |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
AwsCluster response = awsClustersClient.GetAwsCluster(name);
#pragma warning restore CS0612
GetAwsClusterAsync(AwsClusterName, CallSettings)
[Obsolete]
public virtual Task<AwsCluster> GetAwsClusterAsync(AwsClusterName name, CallSettings callSettings = null)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsClusterNameRequired. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsCluster |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName name = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
AwsCluster response = await awsClustersClient.GetAwsClusterAsync(name);
#pragma warning restore CS0612
GetAwsClusterAsync(AwsClusterName, CancellationToken)
[Obsolete]
public virtual Task<AwsCluster> GetAwsClusterAsync(AwsClusterName name, CancellationToken cancellationToken)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsClusterNameRequired. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
See Resource Names for more details on Google Cloud Platform resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsCluster |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName name = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
AwsCluster response = await awsClustersClient.GetAwsClusterAsync(name);
#pragma warning restore CS0612
GetAwsClusterAsync(GetAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Task<AwsCluster> GetAwsClusterAsync(GetAwsClusterRequest request, CallSettings callSettings = null)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsCluster |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsClusterRequest request = new GetAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsCluster response = await awsClustersClient.GetAwsClusterAsync(request);
#pragma warning restore CS0612
GetAwsClusterAsync(GetAwsClusterRequest, CancellationToken)
[Obsolete]
public virtual Task<AwsCluster> GetAwsClusterAsync(GetAwsClusterRequest request, CancellationToken cancellationToken)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsCluster |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsClusterRequest request = new GetAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsCluster response = await awsClustersClient.GetAwsClusterAsync(request);
#pragma warning restore CS0612
GetAwsClusterAsync(string, CallSettings)
[Obsolete]
public virtual Task<AwsCluster> GetAwsClusterAsync(string name, CallSettings callSettings = null)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
See Resource Names for more details on Google Cloud Platform resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsCluster |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
AwsCluster response = await awsClustersClient.GetAwsClusterAsync(name);
#pragma warning restore CS0612
GetAwsClusterAsync(string, CancellationToken)
[Obsolete]
public virtual Task<AwsCluster> GetAwsClusterAsync(string name, CancellationToken cancellationToken)Describes a specific [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to describe.
See Resource Names for more details on Google Cloud Platform resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsCluster |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
AwsCluster response = await awsClustersClient.GetAwsClusterAsync(name);
#pragma warning restore CS0612
GetAwsJsonWebKeys(GetAwsJsonWebKeysRequest, CallSettings)
[Obsolete]
public virtual AwsJsonWebKeys GetAwsJsonWebKeys(GetAwsJsonWebKeysRequest request, CallSettings callSettings = null)Gets the public component of the cluster signing keys in JSON Web Key format.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsJsonWebKeysRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsJsonWebKeys |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsJsonWebKeysRequest request = new GetAwsJsonWebKeysRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsJsonWebKeys response = awsClustersClient.GetAwsJsonWebKeys(request);
#pragma warning restore CS0612
GetAwsJsonWebKeysAsync(GetAwsJsonWebKeysRequest, CallSettings)
[Obsolete]
public virtual Task<AwsJsonWebKeys> GetAwsJsonWebKeysAsync(GetAwsJsonWebKeysRequest request, CallSettings callSettings = null)Gets the public component of the cluster signing keys in JSON Web Key format.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsJsonWebKeysRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsJsonWebKeys |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsJsonWebKeysRequest request = new GetAwsJsonWebKeysRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsJsonWebKeys response = await awsClustersClient.GetAwsJsonWebKeysAsync(request);
#pragma warning restore CS0612
GetAwsJsonWebKeysAsync(GetAwsJsonWebKeysRequest, CancellationToken)
[Obsolete]
public virtual Task<AwsJsonWebKeys> GetAwsJsonWebKeysAsync(GetAwsJsonWebKeysRequest request, CancellationToken cancellationToken)Gets the public component of the cluster signing keys in JSON Web Key format.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsJsonWebKeysRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsJsonWebKeys |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsJsonWebKeysRequest request = new GetAwsJsonWebKeysRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsJsonWebKeys response = await awsClustersClient.GetAwsJsonWebKeysAsync(request);
#pragma warning restore CS0612
GetAwsNodePool(AwsNodePoolName, CallSettings)
[Obsolete]
public virtual AwsNodePool GetAwsNodePool(AwsNodePoolName name, CallSettings callSettings = null)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsNodePoolNameRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsNodePool |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
AwsNodePool response = awsClustersClient.GetAwsNodePool(name);
#pragma warning restore CS0612
GetAwsNodePool(GetAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual AwsNodePool GetAwsNodePool(GetAwsNodePoolRequest request, CallSettings callSettings = null)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsNodePool |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsNodePoolRequest request = new GetAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsNodePool response = awsClustersClient.GetAwsNodePool(request);
#pragma warning restore CS0612
GetAwsNodePool(string, CallSettings)
[Obsolete]
public virtual AwsNodePool GetAwsNodePool(string name, CallSettings callSettings = null)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsNodePool |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
AwsNodePool response = awsClustersClient.GetAwsNodePool(name);
#pragma warning restore CS0612
GetAwsNodePoolAsync(AwsNodePoolName, CallSettings)
[Obsolete]
public virtual Task<AwsNodePool> GetAwsNodePoolAsync(AwsNodePoolName name, CallSettings callSettings = null)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsNodePoolNameRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsNodePool |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
AwsNodePool response = await awsClustersClient.GetAwsNodePoolAsync(name);
#pragma warning restore CS0612
GetAwsNodePoolAsync(AwsNodePoolName, CancellationToken)
[Obsolete]
public virtual Task<AwsNodePool> GetAwsNodePoolAsync(AwsNodePoolName name, CancellationToken cancellationToken)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsNodePoolNameRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsNodePool |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
AwsNodePool response = await awsClustersClient.GetAwsNodePoolAsync(name);
#pragma warning restore CS0612
GetAwsNodePoolAsync(GetAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Task<AwsNodePool> GetAwsNodePoolAsync(GetAwsNodePoolRequest request, CallSettings callSettings = null)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsNodePool |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsNodePoolRequest request = new GetAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsNodePool response = await awsClustersClient.GetAwsNodePoolAsync(request);
#pragma warning restore CS0612
GetAwsNodePoolAsync(GetAwsNodePoolRequest, CancellationToken)
[Obsolete]
public virtual Task<AwsNodePool> GetAwsNodePoolAsync(GetAwsNodePoolRequest request, CancellationToken cancellationToken)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsNodePool |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsNodePoolRequest request = new GetAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsNodePool response = await awsClustersClient.GetAwsNodePoolAsync(request);
#pragma warning restore CS0612
GetAwsNodePoolAsync(string, CallSettings)
[Obsolete]
public virtual Task<AwsNodePool> GetAwsNodePoolAsync(string name, CallSettings callSettings = null)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsNodePool |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
AwsNodePool response = await awsClustersClient.GetAwsNodePoolAsync(name);
#pragma warning restore CS0612
GetAwsNodePoolAsync(string, CancellationToken)
[Obsolete]
public virtual Task<AwsNodePool> GetAwsNodePoolAsync(string name, CancellationToken cancellationToken)Describes a specific [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsNodePool |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
AwsNodePool response = await awsClustersClient.GetAwsNodePoolAsync(name);
#pragma warning restore CS0612
GetAwsOpenIdConfig(GetAwsOpenIdConfigRequest, CallSettings)
[Obsolete]
public virtual AwsOpenIdConfig GetAwsOpenIdConfig(GetAwsOpenIdConfigRequest request, CallSettings callSettings = null)Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsOpenIdConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsOpenIdConfig |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsOpenIdConfigRequest request = new GetAwsOpenIdConfigRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsOpenIdConfig response = awsClustersClient.GetAwsOpenIdConfig(request);
#pragma warning restore CS0612
GetAwsOpenIdConfigAsync(GetAwsOpenIdConfigRequest, CallSettings)
[Obsolete]
public virtual Task<AwsOpenIdConfig> GetAwsOpenIdConfigAsync(GetAwsOpenIdConfigRequest request, CallSettings callSettings = null)Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsOpenIdConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsOpenIdConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsOpenIdConfigRequest request = new GetAwsOpenIdConfigRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsOpenIdConfig response = await awsClustersClient.GetAwsOpenIdConfigAsync(request);
#pragma warning restore CS0612
GetAwsOpenIdConfigAsync(GetAwsOpenIdConfigRequest, CancellationToken)
[Obsolete]
public virtual Task<AwsOpenIdConfig> GetAwsOpenIdConfigAsync(GetAwsOpenIdConfigRequest request, CancellationToken cancellationToken)Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsOpenIdConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsOpenIdConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsOpenIdConfigRequest request = new GetAwsOpenIdConfigRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsOpenIdConfig response = await awsClustersClient.GetAwsOpenIdConfigAsync(request);
#pragma warning restore CS0612
GetAwsServerConfig(AwsServerConfigName, CallSettings)
[Obsolete]
public virtual AwsServerConfig GetAwsServerConfig(AwsServerConfigName name, CallSettings callSettings = null)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsServerConfigNameRequired. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsServerConfig |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsServerConfigName name = AwsServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = awsClustersClient.GetAwsServerConfig(name);
#pragma warning restore CS0612
GetAwsServerConfig(GetAwsServerConfigRequest, CallSettings)
[Obsolete]
public virtual AwsServerConfig GetAwsServerConfig(GetAwsServerConfigRequest request, CallSettings callSettings = null)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsServerConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsServerConfig |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsServerConfigRequest request = new GetAwsServerConfigRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = awsClustersClient.GetAwsServerConfig(request);
#pragma warning restore CS0612
GetAwsServerConfig(string, CallSettings)
[Obsolete]
public virtual AwsServerConfig GetAwsServerConfig(string name, CallSettings callSettings = null)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AwsServerConfig |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsServerConfig";
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = awsClustersClient.GetAwsServerConfig(name);
#pragma warning restore CS0612
GetAwsServerConfigAsync(AwsServerConfigName, CallSettings)
[Obsolete]
public virtual Task<AwsServerConfig> GetAwsServerConfigAsync(AwsServerConfigName name, CallSettings callSettings = null)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsServerConfigNameRequired. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsServerConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsServerConfigName name = AwsServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = await awsClustersClient.GetAwsServerConfigAsync(name);
#pragma warning restore CS0612
GetAwsServerConfigAsync(AwsServerConfigName, CancellationToken)
[Obsolete]
public virtual Task<AwsServerConfig> GetAwsServerConfigAsync(AwsServerConfigName name, CancellationToken cancellationToken)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsServerConfigNameRequired. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsServerConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsServerConfigName name = AwsServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = await awsClustersClient.GetAwsServerConfigAsync(name);
#pragma warning restore CS0612
GetAwsServerConfigAsync(GetAwsServerConfigRequest, CallSettings)
[Obsolete]
public virtual Task<AwsServerConfig> GetAwsServerConfigAsync(GetAwsServerConfigRequest request, CallSettings callSettings = null)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsServerConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsServerConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsServerConfigRequest request = new GetAwsServerConfigRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = await awsClustersClient.GetAwsServerConfigAsync(request);
#pragma warning restore CS0612
GetAwsServerConfigAsync(GetAwsServerConfigRequest, CancellationToken)
[Obsolete]
public virtual Task<AwsServerConfig> GetAwsServerConfigAsync(GetAwsServerConfigRequest request, CancellationToken cancellationToken)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAwsServerConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsServerConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
GetAwsServerConfigRequest request = new GetAwsServerConfigRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = await awsClustersClient.GetAwsServerConfigAsync(request);
#pragma warning restore CS0612
GetAwsServerConfigAsync(string, CallSettings)
[Obsolete]
public virtual Task<AwsServerConfig> GetAwsServerConfigAsync(string name, CallSettings callSettings = null)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsServerConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsServerConfig";
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = await awsClustersClient.GetAwsServerConfigAsync(name);
#pragma warning restore CS0612
GetAwsServerConfigAsync(string, CancellationToken)
[Obsolete]
public virtual Task<AwsServerConfig> GetAwsServerConfigAsync(string name, CancellationToken cancellationToken)Returns information, such as supported AWS regions and Kubernetes versions, on a given Google Cloud location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsServerConfig][google.cloud.gkemulticloud.v1.AwsServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskAwsServerConfig |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsServerConfig";
// Make the request
#pragma warning disable CS0612
AwsServerConfig response = await awsClustersClient.GetAwsServerConfigAsync(name);
#pragma warning restore CS0612
ListAwsClusters(LocationName, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListAwsClustersResponse, AwsCluster> ListAwsClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent location which owns this collection of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. Location names are formatted as See Resource Names for more details on Google Cloud Platform resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAwsClustersResponseAwsCluster |
A pageable sequence of AwsCluster resources. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListAwsClustersResponse, AwsCluster> response = awsClustersClient.ListAwsClusters(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
foreach (AwsCluster item in response)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
foreach (ListAwsClustersResponse page in response.AsRawResponses())
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsCluster item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsCluster> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsCluster item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsClusters(ListAwsClustersRequest, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListAwsClustersResponse, AwsCluster> ListAwsClusters(ListAwsClustersRequest request, CallSettings callSettings = null)Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAwsClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAwsClustersResponseAwsCluster |
A pageable sequence of AwsCluster resources. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
ListAwsClustersRequest request = new ListAwsClustersRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListAwsClustersResponse, AwsCluster> response = awsClustersClient.ListAwsClusters(request);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
foreach (AwsCluster item in response)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
foreach (ListAwsClustersResponse page in response.AsRawResponses())
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsCluster item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsCluster> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsCluster item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsClusters(string, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListAwsClustersResponse, AwsCluster> ListAwsClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent location which owns this collection of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. Location names are formatted as See Resource Names for more details on Google Cloud Platform resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAwsClustersResponseAwsCluster |
A pageable sequence of AwsCluster resources. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListAwsClustersResponse, AwsCluster> response = awsClustersClient.ListAwsClusters(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
foreach (AwsCluster item in response)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
foreach (ListAwsClustersResponse page in response.AsRawResponses())
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsCluster item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsCluster> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsCluster item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsClustersAsync(LocationName, string, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListAwsClustersResponse, AwsCluster> ListAwsClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The parent location which owns this collection of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. Location names are formatted as See Resource Names for more details on Google Cloud Platform resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAwsClustersResponseAwsCluster |
A pageable asynchronous sequence of AwsCluster resources. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListAwsClustersResponse, AwsCluster> response = awsClustersClient.ListAwsClustersAsync(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
await response.ForEachAsync((AwsCluster item) =>
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
await response.AsRawResponses().ForEachAsync((ListAwsClustersResponse page) =>
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsCluster item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsCluster> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsCluster item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsClustersAsync(ListAwsClustersRequest, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListAwsClustersResponse, AwsCluster> ListAwsClustersAsync(ListAwsClustersRequest request, CallSettings callSettings = null)Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAwsClustersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAwsClustersResponseAwsCluster |
A pageable asynchronous sequence of AwsCluster resources. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
ListAwsClustersRequest request = new ListAwsClustersRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListAwsClustersResponse, AwsCluster> response = awsClustersClient.ListAwsClustersAsync(request);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
await response.ForEachAsync((AwsCluster item) =>
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
await response.AsRawResponses().ForEachAsync((ListAwsClustersResponse page) =>
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsCluster item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsCluster> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsCluster item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsClustersAsync(string, string, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListAwsClustersResponse, AwsCluster> ListAwsClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources on a given Google Cloud project and region.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent location which owns this collection of [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resources. Location names are formatted as See Resource Names for more details on Google Cloud Platform resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAwsClustersResponseAwsCluster |
A pageable asynchronous sequence of AwsCluster resources. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListAwsClustersResponse, AwsCluster> response = awsClustersClient.ListAwsClustersAsync(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
await response.ForEachAsync((AwsCluster item) =>
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
await response.AsRawResponses().ForEachAsync((ListAwsClustersResponse page) =>
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsCluster item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsCluster> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsCluster item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsNodePools(AwsClusterName, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListAwsNodePoolsResponse, AwsNodePool> ListAwsNodePools(AwsClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
parent |
AwsClusterNameRequired. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAwsNodePoolsResponseAwsNodePool |
A pageable sequence of AwsNodePool resources. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsClusterName parent = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListAwsNodePoolsResponse, AwsNodePool> response = awsClustersClient.ListAwsNodePools(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
foreach (AwsNodePool item in response)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
foreach (ListAwsNodePoolsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsNodePool item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsNodePool> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsNodePool item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsNodePools(ListAwsNodePoolsRequest, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListAwsNodePoolsResponse, AwsNodePool> ListAwsNodePools(ListAwsNodePoolsRequest request, CallSettings callSettings = null)Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
request |
ListAwsNodePoolsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAwsNodePoolsResponseAwsNodePool |
A pageable sequence of AwsNodePool resources. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
ListAwsNodePoolsRequest request = new ListAwsNodePoolsRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListAwsNodePoolsResponse, AwsNodePool> response = awsClustersClient.ListAwsNodePools(request);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
foreach (AwsNodePool item in response)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
foreach (ListAwsNodePoolsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsNodePool item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsNodePool> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsNodePool item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsNodePools(string, string, int?, CallSettings)
[Obsolete]
public virtual PagedEnumerable<ListAwsNodePoolsResponse, AwsNodePool> ListAwsNodePools(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAwsNodePoolsResponseAwsNodePool |
A pageable sequence of AwsNodePool resources. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
PagedEnumerable<ListAwsNodePoolsResponse, AwsNodePool> response = awsClustersClient.ListAwsNodePools(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
foreach (AwsNodePool item in response)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
foreach (ListAwsNodePoolsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsNodePool item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsNodePool> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsNodePool item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsNodePoolsAsync(AwsClusterName, string, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListAwsNodePoolsResponse, AwsNodePool> ListAwsNodePoolsAsync(AwsClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
parent |
AwsClusterNameRequired. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAwsNodePoolsResponseAwsNodePool |
A pageable asynchronous sequence of AwsNodePool resources. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsClusterName parent = AwsClusterName.FromProjectLocationAwsCluster("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListAwsNodePoolsResponse, AwsNodePool> response = awsClustersClient.ListAwsNodePoolsAsync(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
await response.ForEachAsync((AwsNodePool item) =>
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
await response.AsRawResponses().ForEachAsync((ListAwsNodePoolsResponse page) =>
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsNodePool item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsNodePool> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsNodePool item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsNodePoolsAsync(ListAwsNodePoolsRequest, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListAwsNodePoolsResponse, AwsNodePool> ListAwsNodePoolsAsync(ListAwsNodePoolsRequest request, CallSettings callSettings = null)Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
request |
ListAwsNodePoolsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAwsNodePoolsResponseAwsNodePool |
A pageable asynchronous sequence of AwsNodePool resources. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
ListAwsNodePoolsRequest request = new ListAwsNodePoolsRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListAwsNodePoolsResponse, AwsNodePool> response = awsClustersClient.ListAwsNodePoolsAsync(request);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
await response.ForEachAsync((AwsNodePool item) =>
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
await response.AsRawResponses().ForEachAsync((ListAwsNodePoolsResponse page) =>
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsNodePool item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsNodePool> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsNodePool item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAwsNodePoolsAsync(string, string, int?, CallSettings)
[Obsolete]
public virtual PagedAsyncEnumerable<ListAwsNodePoolsResponse, AwsNodePool> ListAwsNodePoolsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists all [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resources on a given [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAwsNodePoolsResponseAwsNodePool |
A pageable asynchronous sequence of AwsNodePool resources. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]";
// Make the request
#pragma warning disable CS0612
PagedAsyncEnumerable<ListAwsNodePoolsResponse, AwsNodePool> response = awsClustersClient.ListAwsNodePoolsAsync(parent);
#pragma warning restore CS0612
// Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
await response.ForEachAsync((AwsNodePool item) =>
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
await response.AsRawResponses().ForEachAsync((ListAwsNodePoolsResponse page) =>
#pragma warning restore CS0612
{
// Do something with each page of items
Console.WriteLine("A page of results:");
#pragma warning disable CS0612
foreach (AwsNodePool item in page)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
#pragma warning disable CS0612
Page<AwsNodePool> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
foreach (AwsNodePool item in singlePage)
#pragma warning restore CS0612
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
PollOnceCreateAwsCluster(string, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> PollOnceCreateAwsCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateAwsCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The result of polling the operation. |
PollOnceCreateAwsClusterAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> PollOnceCreateAwsClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateAwsCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A task representing the result of polling the operation. |
PollOnceCreateAwsNodePool(string, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> PollOnceCreateAwsNodePool(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of CreateAwsNodePool
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The result of polling the operation. |
PollOnceCreateAwsNodePoolAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> PollOnceCreateAwsNodePoolAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
CreateAwsNodePool.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteAwsCluster(string, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAwsCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteAwsCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteAwsClusterAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAwsClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteAwsCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceDeleteAwsNodePool(string, CallSettings)
[Obsolete]
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAwsNodePool(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of DeleteAwsNodePool
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyOperationMetadata |
The result of polling the operation. |
PollOnceDeleteAwsNodePoolAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAwsNodePoolAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
DeleteAwsNodePool.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyOperationMetadata |
A task representing the result of polling the operation. |
PollOnceRollbackAwsNodePoolUpdate(string, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> PollOnceRollbackAwsNodePoolUpdate(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of
RollbackAwsNodePoolUpdate.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The result of polling the operation. |
PollOnceRollbackAwsNodePoolUpdateAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> PollOnceRollbackAwsNodePoolUpdateAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
RollbackAwsNodePoolUpdate.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateAwsCluster(string, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> PollOnceUpdateAwsCluster(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of UpdateAwsCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The result of polling the operation. |
PollOnceUpdateAwsClusterAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> PollOnceUpdateAwsClusterAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateAwsCluster.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A task representing the result of polling the operation. |
PollOnceUpdateAwsNodePool(string, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> PollOnceUpdateAwsNodePool(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of UpdateAwsNodePool
.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The result of polling the operation. |
PollOnceUpdateAwsNodePoolAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> PollOnceUpdateAwsNodePoolAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
UpdateAwsNodePool.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A task representing the result of polling the operation. |
RollbackAwsNodePoolUpdate(AwsNodePoolName, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> RollbackAwsNodePoolUpdate(AwsNodePoolName name, CallSettings callSettings = null)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsNodePoolNameRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.RollbackAwsNodePoolUpdate(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceRollbackAwsNodePoolUpdate(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> RollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest request, CallSettings callSettings = null)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
request |
RollbackAwsNodePoolUpdateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
RollbackAwsNodePoolUpdateRequest request = new RollbackAwsNodePoolUpdateRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.RollbackAwsNodePoolUpdate(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceRollbackAwsNodePoolUpdate(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdate(string, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> RollbackAwsNodePoolUpdate(string name, CallSettings callSettings = null)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.RollbackAwsNodePoolUpdate(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceRollbackAwsNodePoolUpdate(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdateAsync(AwsNodePoolName, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> RollbackAwsNodePoolUpdateAsync(AwsNodePoolName name, CallSettings callSettings = null)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsNodePoolNameRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.RollbackAwsNodePoolUpdateAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceRollbackAwsNodePoolUpdateAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdateAsync(AwsNodePoolName, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> RollbackAwsNodePoolUpdateAsync(AwsNodePoolName name, CancellationToken cancellationToken)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
name |
AwsNodePoolNameRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
AwsNodePoolName name = AwsNodePoolName.FromProjectLocationAwsClusterAwsNodePool("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]", "[AWS_NODE_POOL]");
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.RollbackAwsNodePoolUpdateAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceRollbackAwsNodePoolUpdateAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> RollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest request, CallSettings callSettings = null)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
request |
RollbackAwsNodePoolUpdateRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
RollbackAwsNodePoolUpdateRequest request = new RollbackAwsNodePoolUpdateRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.RollbackAwsNodePoolUpdateAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceRollbackAwsNodePoolUpdateAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> RollbackAwsNodePoolUpdateAsync(RollbackAwsNodePoolUpdateRequest request, CancellationToken cancellationToken)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
request |
RollbackAwsNodePoolUpdateRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
RollbackAwsNodePoolUpdateRequest request = new RollbackAwsNodePoolUpdateRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.RollbackAwsNodePoolUpdateAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceRollbackAwsNodePoolUpdateAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdateAsync(string, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> RollbackAwsNodePoolUpdateAsync(string name, CallSettings callSettings = null)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.
See Resource Names for more details on Google Cloud resource names. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.RollbackAwsNodePoolUpdateAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceRollbackAwsNodePoolUpdateAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
RollbackAwsNodePoolUpdateAsync(string, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> RollbackAwsNodePoolUpdateAsync(string name, CancellationToken cancellationToken)Rolls back a previously aborted or failed [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. Makes no changes if the last update request successfully finished. If an update request is in progress, you cannot rollback the update. You must first cancel or let it finish unsuccessfully before you can rollback.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The name of the [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to rollback.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/awsClusters/[AWS_CLUSTER]/awsNodePools/[AWS_NODE_POOL]";
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.RollbackAwsNodePoolUpdateAsync(name);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceRollbackAwsNodePoolUpdateAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateAwsCluster(AwsCluster, FieldMask, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> UpdateAwsCluster(AwsCluster awsCluster, FieldMask updateMask, CallSettings callSettings = null)Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
awsCluster |
AwsClusterRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to update. |
updateMask |
FieldMaskRequired. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = awsClustersClient.UpdateAwsCluster(awsCluster, updateMask);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceUpdateAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsCluster(UpdateAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Operation<AwsCluster, OperationMetadata> UpdateAwsCluster(UpdateAwsClusterRequest request, CallSettings callSettings = null)Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsClusterOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
UpdateAwsClusterRequest request = new UpdateAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = awsClustersClient.UpdateAwsCluster(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceUpdateAwsCluster(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsClusterAsync(AwsCluster, FieldMask, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> UpdateAwsClusterAsync(AwsCluster awsCluster, FieldMask updateMask, CallSettings callSettings = null)Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
awsCluster |
AwsClusterRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to update. |
updateMask |
FieldMaskRequired. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.UpdateAwsClusterAsync(awsCluster, updateMask);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsClusterAsync(AwsCluster, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> UpdateAwsClusterAsync(AwsCluster awsCluster, FieldMask updateMask, CancellationToken cancellationToken)Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
awsCluster |
AwsClusterRequired. The [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource to update. |
updateMask |
FieldMaskRequired. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
AwsCluster awsCluster = new AwsCluster();
#pragma warning restore CS0612
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.UpdateAwsClusterAsync(awsCluster, updateMask);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsClusterAsync(UpdateAwsClusterRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> UpdateAwsClusterAsync(UpdateAwsClusterRequest request, CallSettings callSettings = null)Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAwsClusterRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
UpdateAwsClusterRequest request = new UpdateAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.UpdateAwsClusterAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsClusterAsync(UpdateAwsClusterRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsCluster, OperationMetadata>> UpdateAwsClusterAsync(UpdateAwsClusterRequest request, CancellationToken cancellationToken)Updates an [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAwsClusterRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsClusterOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
UpdateAwsClusterRequest request = new UpdateAwsClusterRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> response = await awsClustersClient.UpdateAwsClusterAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsCluster result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsCluster, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsClusterAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsNodePool(AwsNodePool, FieldMask, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> UpdateAwsNodePool(AwsNodePool awsNodePool, FieldMask updateMask, CallSettings callSettings = null)Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
| Parameters | |
|---|---|
| Name | Description |
awsNodePool |
AwsNodePoolRequired. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to update. |
updateMask |
FieldMaskRequired. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.UpdateAwsNodePool(awsNodePool, updateMask);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceUpdateAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsNodePool(UpdateAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Operation<AwsNodePool, OperationMetadata> UpdateAwsNodePool(UpdateAwsNodePoolRequest request, CallSettings callSettings = null)Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAwsNodePoolOperationMetadata |
The RPC response. |
// Create client
AwsClustersClient awsClustersClient = AwsClustersClient.Create();
// Initialize request argument(s)
#pragma warning disable CS0612
UpdateAwsNodePoolRequest request = new UpdateAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = awsClustersClient.UpdateAwsNodePool(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = awsClustersClient.PollOnceUpdateAwsNodePool(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsNodePoolAsync(AwsNodePool, FieldMask, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> UpdateAwsNodePoolAsync(AwsNodePool awsNodePool, FieldMask updateMask, CallSettings callSettings = null)Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
| Parameters | |
|---|---|
| Name | Description |
awsNodePool |
AwsNodePoolRequired. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to update. |
updateMask |
FieldMaskRequired. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]:
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.UpdateAwsNodePoolAsync(awsNodePool, updateMask);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsNodePoolAsync(AwsNodePool, FieldMask, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> UpdateAwsNodePoolAsync(AwsNodePool awsNodePool, FieldMask updateMask, CancellationToken cancellationToken)Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
| Parameters | |
|---|---|
| Name | Description |
awsNodePool |
AwsNodePoolRequired. The [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to update. |
updateMask |
FieldMaskRequired. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]:
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
AwsNodePool awsNodePool = new AwsNodePool();
#pragma warning restore CS0612
FieldMask updateMask = new FieldMask();
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.UpdateAwsNodePoolAsync(awsNodePool, updateMask);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsNodePoolAsync(UpdateAwsNodePoolRequest, CallSettings)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> UpdateAwsNodePoolAsync(UpdateAwsNodePoolRequest request, CallSettings callSettings = null)Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
UpdateAwsNodePoolRequest request = new UpdateAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.UpdateAwsNodePoolAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}
UpdateAwsNodePoolAsync(UpdateAwsNodePoolRequest, CancellationToken)
[Obsolete]
public virtual Task<Operation<AwsNodePool, OperationMetadata>> UpdateAwsNodePoolAsync(UpdateAwsNodePoolRequest request, CancellationToken cancellationToken)Updates an [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAwsNodePoolRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAwsNodePoolOperationMetadata |
A Task containing the RPC response. |
// Create client
AwsClustersClient awsClustersClient = await AwsClustersClient.CreateAsync();
// Initialize request argument(s)
#pragma warning disable CS0612
UpdateAwsNodePoolRequest request = new UpdateAwsNodePoolRequest { };
#pragma warning restore CS0612
// Make the request
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> response = await awsClustersClient.UpdateAwsNodePoolAsync(request);
#pragma warning restore CS0612
// Poll until the returned long-running operation is complete
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
// Retrieve the operation result
#pragma warning disable CS0612
AwsNodePool result = completedResponse.Result;
#pragma warning restore CS0612
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
Operation<AwsNodePool, OperationMetadata> retrievedResponse = await awsClustersClient.PollOnceUpdateAwsNodePoolAsync(operationName);
#pragma warning restore CS0612
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
#pragma warning disable CS0612
AwsNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
}