Class AzureClustersClient (1.0.0-beta01)

public abstract class AzureClustersClient

AzureClusters client wrapper, for convenient use.

Inheritance

Object > AzureClustersClient

Derived Types

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Remarks

The AzureClusters API provides a single centrally managed service to create and manage Anthos clusters that run on Azure infrastructure.

Properties

CreateAzureClientOperationsClient

public virtual OperationsClient CreateAzureClientOperationsClient { get; }

The long-running operations client for CreateAzureClient.

Property Value
TypeDescription
OperationsClient

CreateAzureClusterOperationsClient

public virtual OperationsClient CreateAzureClusterOperationsClient { get; }

The long-running operations client for CreateAzureCluster.

Property Value
TypeDescription
OperationsClient

CreateAzureNodePoolOperationsClient

public virtual OperationsClient CreateAzureNodePoolOperationsClient { get; }

The long-running operations client for CreateAzureNodePool.

Property Value
TypeDescription
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the AzureClusters service, which is a host of "gkemulticloud.googleapis.com" and a port of 443.

Property Value
TypeDescription
String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default AzureClusters scopes.

Property Value
TypeDescription
IReadOnlyList<String>
Remarks

The default AzureClusters scopes are:

DeleteAzureClientOperationsClient

public virtual OperationsClient DeleteAzureClientOperationsClient { get; }

The long-running operations client for DeleteAzureClient.

Property Value
TypeDescription
OperationsClient

DeleteAzureClusterOperationsClient

public virtual OperationsClient DeleteAzureClusterOperationsClient { get; }

The long-running operations client for DeleteAzureCluster.

Property Value
TypeDescription
OperationsClient

DeleteAzureNodePoolOperationsClient

public virtual OperationsClient DeleteAzureNodePoolOperationsClient { get; }

The long-running operations client for DeleteAzureNodePool.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual AzureClusters.AzureClustersClient GrpcClient { get; }

The underlying gRPC AzureClusters client

Property Value
TypeDescription
AzureClusters.AzureClustersClient

UpdateAzureClusterOperationsClient

public virtual OperationsClient UpdateAzureClusterOperationsClient { get; }

The long-running operations client for UpdateAzureCluster.

Property Value
TypeDescription
OperationsClient

UpdateAzureNodePoolOperationsClient

public virtual OperationsClient UpdateAzureNodePoolOperationsClient { get; }

The long-running operations client for UpdateAzureNodePool.

Property Value
TypeDescription
OperationsClient

Methods

Create()

public static AzureClustersClient Create()

Synchronously creates a AzureClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AzureClustersClientBuilder.

Returns
TypeDescription
AzureClustersClient

The created AzureClustersClient.

CreateAsync(CancellationToken)

public static Task<AzureClustersClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a AzureClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AzureClustersClientBuilder.

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
Task<AzureClustersClient>

The task representing the created AzureClustersClient.

CreateAzureClient(LocationName, AzureClient, String, CallSettings)

public virtual Operation<AzureClient, OperationMetadata> CreateAzureClient(LocationName parent, AzureClient azureClient, string azureClientId, CallSettings callSettings = null)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentLocationName

Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClientAzureClient

Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.

azureClientIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureClient, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = azureClustersClient.CreateAzureClient(parent, azureClient, azureClientId);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureClient(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClient(CreateAzureClientRequest, CallSettings)

public virtual Operation<AzureClient, OperationMetadata> CreateAzureClient(CreateAzureClientRequest request, CallSettings callSettings = null)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureClient, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
CreateAzureClientRequest request = new CreateAzureClientRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AzureClient = new AzureClient(),
    ValidateOnly = false,
    AzureClientId = "",
};
// Make the request
Operation<AzureClient, OperationMetadata> response = azureClustersClient.CreateAzureClient(request);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureClient(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClient(String, AzureClient, String, CallSettings)

public virtual Operation<AzureClient, OperationMetadata> CreateAzureClient(string parent, AzureClient azureClient, string azureClientId, CallSettings callSettings = null)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClientAzureClient

Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.

azureClientIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureClient, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = azureClustersClient.CreateAzureClient(parent, azureClient, azureClientId);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureClient(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClientAsync(LocationName, AzureClient, String, CallSettings)

public virtual Task<Operation<AzureClient, OperationMetadata>> CreateAzureClientAsync(LocationName parent, AzureClient azureClient, string azureClientId, CallSettings callSettings = null)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentLocationName

Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClientAzureClient

Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.

azureClientIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClientAsync(LocationName, AzureClient, String, CancellationToken)

public virtual Task<Operation<AzureClient, OperationMetadata>> CreateAzureClientAsync(LocationName parent, AzureClient azureClient, string azureClientId, CancellationToken cancellationToken)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentLocationName

Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClientAzureClient

Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.

azureClientIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClientAsync(CreateAzureClientRequest, CallSettings)

public virtual Task<Operation<AzureClient, OperationMetadata>> CreateAzureClientAsync(CreateAzureClientRequest request, CallSettings callSettings = null)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClientRequest request = new CreateAzureClientRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AzureClient = new AzureClient(),
    ValidateOnly = false,
    AzureClientId = "",
};
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClientAsync(CreateAzureClientRequest, CancellationToken)

public virtual Task<Operation<AzureClient, OperationMetadata>> CreateAzureClientAsync(CreateAzureClientRequest request, CancellationToken cancellationToken)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureClientRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClientRequest request = new CreateAzureClientRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AzureClient = new AzureClient(),
    ValidateOnly = false,
    AzureClientId = "",
};
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClientAsync(String, AzureClient, String, CallSettings)

public virtual Task<Operation<AzureClient, OperationMetadata>> CreateAzureClientAsync(string parent, AzureClient azureClient, string azureClientId, CallSettings callSettings = null)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClientAzureClient

Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.

azureClientIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureClientAsync(String, AzureClient, String, CancellationToken)

public virtual Task<Operation<AzureClient, OperationMetadata>> CreateAzureClientAsync(string parent, AzureClient azureClient, string azureClientId, CancellationToken cancellationToken)

Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.

AzureClient resources hold client authentication information needed by the Anthos Multicloud API to manage Azure resources on your Azure subscription on your behalf.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClientAzureClient

Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create.

azureClientIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient 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
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureClient retrievedResult = retrievedResponse.Result;
}

CreateAzureCluster(LocationName, AzureCluster, String, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(LocationName parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentLocationName

Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClusterAzureCluster

Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.

azureClusterIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(parent, azureCluster, azureClusterId);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureCluster(CreateAzureClusterRequest, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(CreateAzureClusterRequest request, CallSettings callSettings = null)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AzureCluster = new AzureCluster(),
    AzureClusterId = "",
    ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureCluster(String, AzureCluster, String, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(string parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClusterAzureCluster

Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.

azureClusterIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(parent, azureCluster, azureClusterId);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureClusterAsync(LocationName, AzureCluster, String, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(LocationName parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentLocationName

Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClusterAzureCluster

Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.

azureClusterIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureClusterAsync(LocationName, AzureCluster, String, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(LocationName parent, AzureCluster azureCluster, string azureClusterId, CancellationToken cancellationToken)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentLocationName

Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClusterAzureCluster

Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.

azureClusterIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureClusterAsync(CreateAzureClusterRequest, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(CreateAzureClusterRequest request, CallSettings callSettings = null)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AzureCluster = new AzureCluster(),
    AzureClusterId = "",
    ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureClusterAsync(CreateAzureClusterRequest, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(CreateAzureClusterRequest request, CancellationToken cancellationToken)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    AzureCluster = new AzureCluster(),
    AzureClusterId = "",
    ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureClusterAsync(String, AzureCluster, String, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(string parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClusterAzureCluster

Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.

azureClusterIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureClusterAsync(String, AzureCluster, String, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(string parent, AzureCluster azureCluster, string azureClusterId, CancellationToken cancellationToken)

Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureClusterAzureCluster

Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create.

azureClusterIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePool(AzureClusterName, AzureNodePool, String, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> CreateAzureNodePool(AzureClusterName parent, AzureNodePool azureNodePool, string azureNodePoolId, CallSettings callSettings = null)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentAzureClusterName

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureNodePoolAzureNodePool

Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.

azureNodePoolIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClusterName parent = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
AzureNodePool azureNodePool = new AzureNodePool();
string azureNodePoolId = "";
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.CreateAzureNodePool(parent, azureNodePool, azureNodePoolId);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePool(CreateAzureNodePoolRequest, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> CreateAzureNodePool(CreateAzureNodePoolRequest request, CallSettings callSettings = null)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
CreateAzureNodePoolRequest request = new CreateAzureNodePoolRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    AzureNodePool = new AzureNodePool(),
    AzureNodePoolId = "",
    ValidateOnly = false,
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.CreateAzureNodePool(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePool(String, AzureNodePool, String, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> CreateAzureNodePool(string parent, AzureNodePool azureNodePool, string azureNodePoolId, CallSettings callSettings = null)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureNodePoolAzureNodePool

Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.

azureNodePoolIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
AzureNodePool azureNodePool = new AzureNodePool();
string azureNodePoolId = "";
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.CreateAzureNodePool(parent, azureNodePool, azureNodePoolId);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePoolAsync(AzureClusterName, AzureNodePool, String, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> CreateAzureNodePoolAsync(AzureClusterName parent, AzureNodePool azureNodePool, string azureNodePoolId, CallSettings callSettings = null)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentAzureClusterName

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureNodePoolAzureNodePool

Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.

azureNodePoolIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName parent = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
AzureNodePool azureNodePool = new AzureNodePool();
string azureNodePoolId = "";
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePoolAsync(AzureClusterName, AzureNodePool, String, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> CreateAzureNodePoolAsync(AzureClusterName parent, AzureNodePool azureNodePool, string azureNodePoolId, CancellationToken cancellationToken)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentAzureClusterName

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureNodePoolAzureNodePool

Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.

azureNodePoolIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName parent = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
AzureNodePool azureNodePool = new AzureNodePool();
string azureNodePoolId = "";
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePoolAsync(CreateAzureNodePoolRequest, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> CreateAzureNodePoolAsync(CreateAzureNodePoolRequest request, CallSettings callSettings = null)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureNodePoolRequest request = new CreateAzureNodePoolRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    AzureNodePool = new AzureNodePool(),
    AzureNodePoolId = "",
    ValidateOnly = false,
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePoolAsync(CreateAzureNodePoolRequest, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> CreateAzureNodePoolAsync(CreateAzureNodePoolRequest request, CancellationToken cancellationToken)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestCreateAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureNodePoolRequest request = new CreateAzureNodePoolRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    AzureNodePool = new AzureNodePool(),
    AzureNodePoolId = "",
    ValidateOnly = false,
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePoolAsync(String, AzureNodePool, String, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> CreateAzureNodePoolAsync(string parent, AzureNodePool azureNodePool, string azureNodePoolId, CallSettings callSettings = null)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureNodePoolAzureNodePool

Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.

azureNodePoolIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
AzureNodePool azureNodePool = new AzureNodePool();
string azureNodePoolId = "";
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

CreateAzureNodePoolAsync(String, AzureNodePool, String, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> CreateAzureNodePoolAsync(string parent, AzureNodePool azureNodePool, string azureNodePoolId, CancellationToken cancellationToken)

Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
parentString

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

azureNodePoolAzureNodePool

Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create.

azureNodePoolIdString

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource name formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 40 characters.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
AzureNodePool azureNodePool = new AzureNodePool();
string azureNodePoolId = "";
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

DeleteAzureClient(AzureClientName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureClient(AzureClientName name, CallSettings callSettings = null)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameAzureClientName

Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClientName name = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureClient(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClient(DeleteAzureClientRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureClient(DeleteAzureClientRequest request, CallSettings callSettings = null)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
DeleteAzureClientRequest request = new DeleteAzureClientRequest
{
    AzureClientName = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"),
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureClient(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClient(String, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureClient(string name, CallSettings callSettings = null)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameString

Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClients/[AZURE_CLIENT]";
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureClient(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClientAsync(AzureClientName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClientAsync(AzureClientName name, CallSettings callSettings = null)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameAzureClientName

Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClientName name = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClientAsync(AzureClientName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClientAsync(AzureClientName name, CancellationToken cancellationToken)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameAzureClientName

Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClientName name = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClientAsync(DeleteAzureClientRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClientAsync(DeleteAzureClientRequest request, CallSettings callSettings = null)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
DeleteAzureClientRequest request = new DeleteAzureClientRequest
{
    AzureClientName = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"),
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClientAsync(DeleteAzureClientRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClientAsync(DeleteAzureClientRequest request, CancellationToken cancellationToken)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAzureClientRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
DeleteAzureClientRequest request = new DeleteAzureClientRequest
{
    AzureClientName = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"),
    AllowMissing = false,
    ValidateOnly = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClientAsync(String, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClientAsync(string name, CallSettings callSettings = null)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameString

Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClients/[AZURE_CLIENT]";
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClientAsync(String, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClientAsync(string name, CancellationToken cancellationToken)

Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.

If the client is used by one or more clusters, deletion will fail and a FAILED_PRECONDITION error will be returned.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameString

Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClients/[AZURE_CLIENT]";
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureCluster(AzureClusterName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureCluster(AzureClusterName name, CallSettings callSettings = null)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
nameAzureClusterName

Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClusterName name = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureCluster(DeleteAzureClusterRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureCluster(DeleteAzureClusterRequest request, CallSettings callSettings = null)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
requestDeleteAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
DeleteAzureClusterRequest request = new DeleteAzureClusterRequest
{
    AzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureCluster(String, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureCluster(string name, CallSettings callSettings = null)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
nameString

Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClusterAsync(AzureClusterName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClusterAsync(AzureClusterName name, CallSettings callSettings = null)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
nameAzureClusterName

Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName name = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClusterAsync(AzureClusterName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClusterAsync(AzureClusterName name, CancellationToken cancellationToken)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
nameAzureClusterName

Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName name = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClusterAsync(DeleteAzureClusterRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClusterAsync(DeleteAzureClusterRequest request, CallSettings callSettings = null)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
requestDeleteAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
DeleteAzureClusterRequest request = new DeleteAzureClusterRequest
{
    AzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClusterAsync(DeleteAzureClusterRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClusterAsync(DeleteAzureClusterRequest request, CancellationToken cancellationToken)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
requestDeleteAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
DeleteAzureClusterRequest request = new DeleteAzureClusterRequest
{
    AzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    AllowMissing = false,
    ValidateOnly = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClusterAsync(String, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClusterAsync(string name, CallSettings callSettings = null)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
nameString

Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureClusterAsync(String, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureClusterAsync(string name, CancellationToken cancellationToken)

Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] 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
NameDescription
nameString

Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePool(AzureNodePoolName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureNodePool(AzureNodePoolName name, CallSettings callSettings = null)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameAzureNodePoolName

Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureNodePoolName name = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]");
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePool(DeleteAzureNodePoolRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureNodePool(DeleteAzureNodePoolRequest request, CallSettings callSettings = null)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
DeleteAzureNodePoolRequest request = new DeleteAzureNodePoolRequest
{
    AzureNodePoolName = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"),
    ValidateOnly = false,
    AllowMissing = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePool(String, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteAzureNodePool(string name, CallSettings callSettings = null)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameString

Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePoolAsync(AzureNodePoolName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureNodePoolAsync(AzureNodePoolName name, CallSettings callSettings = null)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameAzureNodePoolName

Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePoolName name = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]");
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePoolAsync(AzureNodePoolName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureNodePoolAsync(AzureNodePoolName name, CancellationToken cancellationToken)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameAzureNodePoolName

Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePoolName name = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]");
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest request, CallSettings callSettings = null)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
DeleteAzureNodePoolRequest request = new DeleteAzureNodePoolRequest
{
    AzureNodePoolName = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"),
    ValidateOnly = false,
    AllowMissing = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest request, CancellationToken cancellationToken)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
requestDeleteAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
DeleteAzureNodePoolRequest request = new DeleteAzureNodePoolRequest
{
    AzureNodePoolName = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"),
    ValidateOnly = false,
    AllowMissing = false,
    Etag = "",
};
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(request);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePoolAsync(String, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureNodePoolAsync(string name, CallSettings callSettings = null)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameString

Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteAzureNodePoolAsync(String, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteAzureNodePoolAsync(string name, CancellationToken cancellationToken)

Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.

If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.

Parameters
NameDescription
nameString

Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

// 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
Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

GenerateAzureAccessToken(GenerateAzureAccessTokenRequest, CallSettings)

public virtual GenerateAzureAccessTokenResponse GenerateAzureAccessToken(GenerateAzureAccessTokenRequest request, CallSettings callSettings = null)

Generates a short-lived access token to authenticate to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GenerateAzureAccessTokenResponse

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest
{
    AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
GenerateAzureAccessTokenResponse response = azureClustersClient.GenerateAzureAccessToken(request);

GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest, CallSettings)

public virtual Task<GenerateAzureAccessTokenResponse> GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest request, CallSettings callSettings = null)

Generates a short-lived access token to authenticate to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<GenerateAzureAccessTokenResponse>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest
{
    AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
GenerateAzureAccessTokenResponse response = await azureClustersClient.GenerateAzureAccessTokenAsync(request);

GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest, CancellationToken)

public virtual Task<GenerateAzureAccessTokenResponse> GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest request, CancellationToken cancellationToken)

Generates a short-lived access token to authenticate to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<GenerateAzureAccessTokenResponse>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest
{
    AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
GenerateAzureAccessTokenResponse response = await azureClustersClient.GenerateAzureAccessTokenAsync(request);

GetAzureClient(AzureClientName, CallSettings)

public virtual AzureClient GetAzureClient(AzureClientName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureClientName

Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureClient

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClientName name = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
// Make the request
AzureClient response = azureClustersClient.GetAzureClient(name);

GetAzureClient(GetAzureClientRequest, CallSettings)

public virtual AzureClient GetAzureClient(GetAzureClientRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureClient

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GetAzureClientRequest request = new GetAzureClientRequest
{
    AzureClientName = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"),
};
// Make the request
AzureClient response = azureClustersClient.GetAzureClient(request);

GetAzureClient(String, CallSettings)

public virtual AzureClient GetAzureClient(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureClient

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClients/[AZURE_CLIENT]";
// Make the request
AzureClient response = azureClustersClient.GetAzureClient(name);

GetAzureClientAsync(AzureClientName, CallSettings)

public virtual Task<AzureClient> GetAzureClientAsync(AzureClientName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureClientName

Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureClient>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClientName name = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
// Make the request
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureClientAsync(AzureClientName, CancellationToken)

public virtual Task<AzureClient> GetAzureClientAsync(AzureClientName name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameAzureClientName

Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureClient>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClientName name = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
// Make the request
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureClientAsync(GetAzureClientRequest, CallSettings)

public virtual Task<AzureClient> GetAzureClientAsync(GetAzureClientRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureClient>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureClientRequest request = new GetAzureClientRequest
{
    AzureClientName = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"),
};
// Make the request
AzureClient response = await azureClustersClient.GetAzureClientAsync(request);

GetAzureClientAsync(GetAzureClientRequest, CancellationToken)

public virtual Task<AzureClient> GetAzureClientAsync(GetAzureClientRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestGetAzureClientRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureClient>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureClientRequest request = new GetAzureClientRequest
{
    AzureClientName = AzureClientName.FromProjectLocationAzureClient("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]"),
};
// Make the request
AzureClient response = await azureClustersClient.GetAzureClientAsync(request);

GetAzureClientAsync(String, CallSettings)

public virtual Task<AzureClient> GetAzureClientAsync(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureClient>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClients/[AZURE_CLIENT]";
// Make the request
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureClientAsync(String, CancellationToken)

public virtual Task<AzureClient> GetAzureClientAsync(string name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe.

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClients/&amp;lt;client-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureClient>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClients/[AZURE_CLIENT]";
// Make the request
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureCluster(AzureClusterName, CallSettings)

public virtual AzureCluster GetAzureCluster(AzureClusterName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureClusterName

Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureCluster

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClusterName name = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureCluster response = azureClustersClient.GetAzureCluster(name);

GetAzureCluster(GetAzureClusterRequest, CallSettings)

public virtual AzureCluster GetAzureCluster(GetAzureClusterRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureCluster

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GetAzureClusterRequest request = new GetAzureClusterRequest
{
    AzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureCluster response = azureClustersClient.GetAzureCluster(request);

GetAzureCluster(String, CallSettings)

public virtual AzureCluster GetAzureCluster(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureCluster

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureCluster response = azureClustersClient.GetAzureCluster(name);

GetAzureClusterAsync(AzureClusterName, CallSettings)

public virtual Task<AzureCluster> GetAzureClusterAsync(AzureClusterName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureClusterName

Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureCluster>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName name = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureClusterAsync(AzureClusterName, CancellationToken)

public virtual Task<AzureCluster> GetAzureClusterAsync(AzureClusterName name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameAzureClusterName

Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureCluster>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName name = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureClusterAsync(GetAzureClusterRequest, CallSettings)

public virtual Task<AzureCluster> GetAzureClusterAsync(GetAzureClusterRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureCluster>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureClusterRequest request = new GetAzureClusterRequest
{
    AzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(request);

GetAzureClusterAsync(GetAzureClusterRequest, CancellationToken)

public virtual Task<AzureCluster> GetAzureClusterAsync(GetAzureClusterRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestGetAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureCluster>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureClusterRequest request = new GetAzureClusterRequest
{
    AzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(request);

GetAzureClusterAsync(String, CallSettings)

public virtual Task<AzureCluster> GetAzureClusterAsync(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureCluster>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureClusterAsync(String, CancellationToken)

public virtual Task<AzureCluster> GetAzureClusterAsync(string name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on GCP resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureCluster>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureNodePool(AzureNodePoolName, CallSettings)

public virtual AzureNodePool GetAzureNodePool(AzureNodePoolName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureNodePoolName

Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureNodePool

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureNodePoolName name = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]");
// Make the request
AzureNodePool response = azureClustersClient.GetAzureNodePool(name);

GetAzureNodePool(GetAzureNodePoolRequest, CallSettings)

public virtual AzureNodePool GetAzureNodePool(GetAzureNodePoolRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureNodePool

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GetAzureNodePoolRequest request = new GetAzureNodePoolRequest
{
    AzureNodePoolName = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"),
};
// Make the request
AzureNodePool response = azureClustersClient.GetAzureNodePool(request);

GetAzureNodePool(String, CallSettings)

public virtual AzureNodePool GetAzureNodePool(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureNodePool

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
AzureNodePool response = azureClustersClient.GetAzureNodePool(name);

GetAzureNodePoolAsync(AzureNodePoolName, CallSettings)

public virtual Task<AzureNodePool> GetAzureNodePoolAsync(AzureNodePoolName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureNodePoolName

Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureNodePool>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePoolName name = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]");
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureNodePoolAsync(AzureNodePoolName, CancellationToken)

public virtual Task<AzureNodePool> GetAzureNodePoolAsync(AzureNodePoolName name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameAzureNodePoolName

Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureNodePool>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePoolName name = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]");
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureNodePoolAsync(GetAzureNodePoolRequest, CallSettings)

public virtual Task<AzureNodePool> GetAzureNodePoolAsync(GetAzureNodePoolRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureNodePool>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureNodePoolRequest request = new GetAzureNodePoolRequest
{
    AzureNodePoolName = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"),
};
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(request);

GetAzureNodePoolAsync(GetAzureNodePoolRequest, CancellationToken)

public virtual Task<AzureNodePool> GetAzureNodePoolAsync(GetAzureNodePoolRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestGetAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureNodePool>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureNodePoolRequest request = new GetAzureNodePoolRequest
{
    AzureNodePoolName = AzureNodePoolName.FromProjectLocationAzureClusterAzureNodePool("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]", "[AZURE_NODE_POOL]"),
};
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(request);

GetAzureNodePoolAsync(String, CallSettings)

public virtual Task<AzureNodePool> GetAzureNodePoolAsync(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureNodePool>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureNodePoolAsync(String, CancellationToken)

public virtual Task<AzureNodePool> GetAzureNodePoolAsync(string name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.

AzureNodePool names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;/azureNodePools/&amp;lt;node-pool-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureNodePool>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureServerConfig(AzureServerConfigName, CallSettings)

public virtual AzureServerConfig GetAzureServerConfig(AzureServerConfigName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureServerConfigName

Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.

AzureServerConfig names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureServerConfig.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureServerConfig

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureServerConfigName name = AzureServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
AzureServerConfig response = azureClustersClient.GetAzureServerConfig(name);

GetAzureServerConfig(GetAzureServerConfigRequest, CallSettings)

public virtual AzureServerConfig GetAzureServerConfig(GetAzureServerConfigRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureServerConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureServerConfig

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GetAzureServerConfigRequest request = new GetAzureServerConfigRequest
{
    AzureServerConfigName = AzureServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
AzureServerConfig response = azureClustersClient.GetAzureServerConfig(request);

GetAzureServerConfig(String, CallSettings)

public virtual AzureServerConfig GetAzureServerConfig(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.

AzureServerConfig names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureServerConfig.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureServerConfig

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureServerConfig";
// Make the request
AzureServerConfig response = azureClustersClient.GetAzureServerConfig(name);

GetAzureServerConfigAsync(AzureServerConfigName, CallSettings)

public virtual Task<AzureServerConfig> GetAzureServerConfigAsync(AzureServerConfigName name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameAzureServerConfigName

Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.

AzureServerConfig names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureServerConfig.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureServerConfig>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureServerConfigName name = AzureServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

GetAzureServerConfigAsync(AzureServerConfigName, CancellationToken)

public virtual Task<AzureServerConfig> GetAzureServerConfigAsync(AzureServerConfigName name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameAzureServerConfigName

Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.

AzureServerConfig names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureServerConfig.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureServerConfig>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureServerConfigName name = AzureServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

GetAzureServerConfigAsync(GetAzureServerConfigRequest, CallSettings)

public virtual Task<AzureServerConfig> GetAzureServerConfigAsync(GetAzureServerConfigRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetAzureServerConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureServerConfig>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureServerConfigRequest request = new GetAzureServerConfigRequest
{
    AzureServerConfigName = AzureServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(request);

GetAzureServerConfigAsync(GetAzureServerConfigRequest, CancellationToken)

public virtual Task<AzureServerConfig> GetAzureServerConfigAsync(GetAzureServerConfigRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestGetAzureServerConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureServerConfig>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureServerConfigRequest request = new GetAzureServerConfigRequest
{
    AzureServerConfigName = AzureServerConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(request);

GetAzureServerConfigAsync(String, CallSettings)

public virtual Task<AzureServerConfig> GetAzureServerConfigAsync(string name, CallSettings callSettings = null)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.

AzureServerConfig names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureServerConfig.

See Resource Names for more details on Google Cloud resource names.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AzureServerConfig>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureServerConfig";
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

GetAzureServerConfigAsync(String, CancellationToken)

public virtual Task<AzureServerConfig> GetAzureServerConfigAsync(string name, CancellationToken cancellationToken)

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

Parameters
NameDescription
nameString

Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.

AzureServerConfig names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureServerConfig.

See Resource Names for more details on Google Cloud resource names.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<AzureServerConfig>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureServerConfig";
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

ListAzureClients(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentLocationName

Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureClientsResponse, AzureClient>

A pageable sequence of AzureClient resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureClient item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClientsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureClient item in page)
    {
        // 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;
Page<AzureClient> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClients(ListAzureClientsRequest, CallSettings)

public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(ListAzureClientsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListAzureClientsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureClientsResponse, AzureClient>

A pageable sequence of AzureClient resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureClientsRequest request = new ListAzureClientsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureClient item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClientsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureClient item in page)
    {
        // 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;
Page<AzureClient> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClients(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentString

Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureClientsResponse, AzureClient>

A pageable sequence of AzureClient resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureClient item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClientsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureClient item in page)
    {
        // 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;
Page<AzureClient> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClientsAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentLocationName

Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient>

A pageable asynchronous sequence of AzureClient resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureClient item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureClient item in page)
    {
        // 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;
Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClientsAsync(ListAzureClientsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(ListAzureClientsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListAzureClientsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient>

A pageable asynchronous sequence of AzureClient resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureClientsRequest request = new ListAzureClientsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureClient item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureClient item in page)
    {
        // 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;
Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClientsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentString

Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient>

A pageable asynchronous sequence of AzureClient resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureClient item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureClient item in page)
    {
        // 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;
Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentLocationName

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureClustersResponse, AzureCluster>

A pageable sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // 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;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(ListAzureClustersRequest, CallSettings)

public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(ListAzureClustersRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListAzureClustersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureClustersResponse, AzureCluster>

A pageable sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureClustersRequest request = new ListAzureClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // 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;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentString

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureClustersResponse, AzureCluster>

A pageable sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // 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;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(LocationName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentLocationName

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster>

A pageable asynchronous sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // 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;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(ListAzureClustersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(ListAzureClustersRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListAzureClustersRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster>

A pageable asynchronous sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureClustersRequest request = new ListAzureClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // 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;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

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

Parameters
NameDescription
parentString

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;.

See Resource Names for more details on GCP resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster>

A pageable asynchronous sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // 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;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(AzureClusterName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentAzureClusterName

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool>

A pageable sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClusterName parent = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // 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;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(ListAzureNodePoolsRequest, CallSettings)

public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(ListAzureNodePoolsRequest request, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestListAzureNodePoolsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool>

A pageable sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // 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;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentString

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool>

A pageable sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // 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;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(AzureClusterName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentAzureClusterName

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool>

A pageable asynchronous sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName parent = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // 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;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(ListAzureNodePoolsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(ListAzureNodePoolsRequest request, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestListAzureNodePoolsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool>

A pageable asynchronous sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // 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;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentString

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/&amp;lt;project-id&amp;gt;/locations/&amp;lt;region&amp;gt;/azureClusters/&amp;lt;cluster-id&amp;gt;.

See Resource Names for more details on Google Cloud resource names.

pageTokenString

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeNullable<Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool>

A pageable asynchronous sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // 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;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

PollOnceCreateAzureClient(String, CallSettings)

public virtual Operation<AzureClient, OperationMetadata> PollOnceCreateAzureClient(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAzureClient .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureClient, OperationMetadata>

The result of polling the operation.

PollOnceCreateAzureClientAsync(String, CallSettings)

public virtual Task<Operation<AzureClient, OperationMetadata>> PollOnceCreateAzureClientAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAzureClient.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureClient, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceCreateAzureCluster(String, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> PollOnceCreateAzureCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAzureCluster .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The result of polling the operation.

PollOnceCreateAzureClusterAsync(String, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceCreateAzureClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAzureCluster.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceCreateAzureNodePool(String, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> PollOnceCreateAzureNodePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAzureNodePool .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The result of polling the operation.

PollOnceCreateAzureNodePoolAsync(String, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceCreateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAzureNodePool.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteAzureClient(String, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureClient(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAzureClient .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The result of polling the operation.

PollOnceDeleteAzureClientAsync(String, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClientAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAzureClient.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteAzureCluster(String, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAzureCluster .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The result of polling the operation.

PollOnceDeleteAzureClusterAsync(String, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAzureCluster.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceDeleteAzureNodePool(String, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureNodePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAzureNodePool .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The result of polling the operation.

PollOnceDeleteAzureNodePoolAsync(String, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureNodePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAzureNodePool.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceUpdateAzureCluster(String, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> PollOnceUpdateAzureCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateAzureCluster .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The result of polling the operation.

PollOnceUpdateAzureClusterAsync(String, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceUpdateAzureClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateAzureCluster.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A task representing the result of polling the operation.

PollOnceUpdateAzureNodePool(String, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> PollOnceUpdateAzureNodePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateAzureNodePool .

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The result of polling the operation.

PollOnceUpdateAzureNodePoolAsync(String, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceUpdateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateAzureNodePool.

Parameters
NameDescription
operationNameString

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A task representing the result of polling the operation.

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
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

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.

UpdateAzureCluster(AzureCluster, FieldMask, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> UpdateAzureCluster(AzureCluster azureCluster, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
NameDescription
azureClusterAzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMaskFieldMask

Required. 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 [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:

  • description.
  • annotations.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • authorization.admin_users.
  • control_plane.root_volume.size_gib.
  • logging_config
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureCluster azureCluster = new AzureCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.UpdateAzureCluster(azureCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureCluster(UpdateAzureClusterRequest, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> UpdateAzureCluster(UpdateAzureClusterRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureCluster, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
UpdateAzureClusterRequest request = new UpdateAzureClusterRequest
{
    AzureCluster = new AzureCluster(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.UpdateAzureCluster(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(AzureCluster, FieldMask, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
NameDescription
azureClusterAzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMaskFieldMask

Required. 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 [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:

  • description.
  • annotations.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • authorization.admin_users.
  • control_plane.root_volume.size_gib.
  • logging_config
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureCluster azureCluster = new AzureCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(azureCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(AzureCluster, FieldMask, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask, CancellationToken cancellationToken)

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

Parameters
NameDescription
azureClusterAzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMaskFieldMask

Required. 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 [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:

  • description.
  • annotations.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • authorization.admin_users.
  • control_plane.root_volume.size_gib.
  • logging_config
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureCluster azureCluster = new AzureCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(azureCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(UpdateAzureClusterRequest, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(UpdateAzureClusterRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureClusterRequest request = new UpdateAzureClusterRequest
{
    AzureCluster = new AzureCluster(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(UpdateAzureClusterRequest, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(UpdateAzureClusterRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestUpdateAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureCluster, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureClusterRequest request = new UpdateAzureClusterRequest
{
    AzureCluster = new AzureCluster(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster 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
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePool(AzureNodePool, FieldMask, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> UpdateAzureNodePool(AzureNodePool azureNodePool, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
NameDescription
azureNodePoolAzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMaskFieldMask

Required. 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 [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.vm_size.
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureNodePool azureNodePool = new AzureNodePool();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.UpdateAzureNodePool(azureNodePool, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePool(UpdateAzureNodePoolRequest, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> UpdateAzureNodePool(UpdateAzureNodePoolRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<AzureNodePool, OperationMetadata>

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest
{
    AzureNodePool = new AzureNodePool(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.UpdateAzureNodePool(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(AzureNodePool, FieldMask, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
NameDescription
azureNodePoolAzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMaskFieldMask

Required. 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 [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.vm_size.
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePool azureNodePool = new AzureNodePool();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(azureNodePool, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(AzureNodePool, FieldMask, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask, CancellationToken cancellationToken)

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

Parameters
NameDescription
azureNodePoolAzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMaskFieldMask

Required. 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 [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.vm_size.
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePool azureNodePool = new AzureNodePool();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(azureNodePool, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest
{
    AzureNodePool = new AzureNodePool(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest request, CancellationToken cancellationToken)

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

Parameters
NameDescription
requestUpdateAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
Task<Operation<AzureNodePool, OperationMetadata>>

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest
{
    AzureNodePool = new AzureNodePool(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool 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
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}