Anthos Multi-Cloud v1 API - Class AzureClustersClient (2.10.0)

[Obsolete]
public abstract class AzureClustersClient

Reference documentation and code samples for the Anthos Multi-Cloud v1 API 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
Type Description
OperationsClient

CreateAzureClusterOperationsClient

public virtual OperationsClient CreateAzureClusterOperationsClient { get; }

The long-running operations client for CreateAzureCluster.

Property Value
Type Description
OperationsClient

CreateAzureNodePoolOperationsClient

public virtual OperationsClient CreateAzureNodePoolOperationsClient { get; }

The long-running operations client for CreateAzureNodePool.

Property Value
Type Description
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
Type Description
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default AzureClusters scopes.

Property Value
Type Description
IReadOnlyListstring
Remarks

The default AzureClusters scopes are:

DeleteAzureClientOperationsClient

public virtual OperationsClient DeleteAzureClientOperationsClient { get; }

The long-running operations client for DeleteAzureClient.

Property Value
Type Description
OperationsClient

DeleteAzureClusterOperationsClient

public virtual OperationsClient DeleteAzureClusterOperationsClient { get; }

The long-running operations client for DeleteAzureCluster.

Property Value
Type Description
OperationsClient

DeleteAzureNodePoolOperationsClient

public virtual OperationsClient DeleteAzureNodePoolOperationsClient { get; }

The long-running operations client for DeleteAzureNodePool.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual AzureClusters.AzureClustersClient GrpcClient { get; }

The underlying gRPC AzureClusters client

Property Value
Type Description
AzureClustersAzureClustersClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UpdateAzureClusterOperationsClient

public virtual OperationsClient UpdateAzureClusterOperationsClient { get; }

The long-running operations client for UpdateAzureCluster.

Property Value
Type Description
OperationsClient

UpdateAzureNodePoolOperationsClient

public virtual OperationsClient UpdateAzureNodePoolOperationsClient { get; }

The long-running operations client for UpdateAzureNodePool.

Property Value
Type Description
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
Type Description
AzureClustersClient

The created AzureClustersClient.

CreateAsync(CancellationToken)

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

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

Parameter
Name Description
cancellationToken CancellationToken

The CancellationToken to use while creating the client.

Returns
Type Description
TaskAzureClustersClient

The task representing the created AzureClustersClient.

CreateAzureClient(LocationName, AzureClient, string, CallSettings)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureClient AzureClient

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

azureClientId string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClientOperationMetadata

The RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureClient(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClient(CreateAzureClientRequest, CallSettings)

[Obsolete]
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
Name Description
request CreateAzureClientRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClientOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureClientRequest request = new CreateAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> response = azureClustersClient.CreateAzureClient(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureClient(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClient(string, AzureClient, string, CallSettings)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureClient AzureClient

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

azureClientId string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClientOperationMetadata

The RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureClient(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClientAsync(LocationName, AzureClient, string, CallSettings)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureClient AzureClient

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

azureClientId string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClientAsync(LocationName, AzureClient, string, CancellationToken)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureClient AzureClient

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

azureClientId string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClientAsync(CreateAzureClientRequest, CallSettings)

[Obsolete]
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
Name Description
request CreateAzureClientRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureClientRequest request = new CreateAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClientAsync(CreateAzureClientRequest, CancellationToken)

[Obsolete]
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
Name Description
request CreateAzureClientRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureClientRequest request = new CreateAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClientAsync(string, AzureClient, string, CallSettings)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureClient AzureClient

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

azureClientId string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClientAsync(string, AzureClient, string, CancellationToken)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureClient AzureClient

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

azureClientId string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureClient result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureClient retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureCluster(LocationName, AzureCluster, string, CallSettings)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureCluster AzureCluster

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

azureClusterId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureCluster(CreateAzureClusterRequest, CallSettings)

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

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

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

Parameters
Name Description
request CreateAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureClusterRequest request = new CreateAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureCluster(string, AzureCluster, string, CallSettings)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureCluster AzureCluster

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

azureClusterId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClusterAsync(LocationName, AzureCluster, string, CallSettings)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureCluster AzureCluster

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

azureClusterId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClusterAsync(LocationName, AzureCluster, string, CancellationToken)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureCluster AzureCluster

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

azureClusterId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClusterAsync(CreateAzureClusterRequest, CallSettings)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
request CreateAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureClusterRequest request = new CreateAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClusterAsync(CreateAzureClusterRequest, CancellationToken)

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

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

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

Parameters
Name Description
request CreateAzureClusterRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureClusterRequest request = new CreateAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClusterAsync(string, AzureCluster, string, CallSettings)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureCluster AzureCluster

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

azureClusterId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureClusterAsync(string, AzureCluster, string, CancellationToken)

[Obsolete]
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 Google Cloud Platform project and region.

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

Parameters
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

azureCluster AzureCluster

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

azureClusterId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePool(AzureClusterName, AzureNodePool, string, CallSettings)

[Obsolete]
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
Name Description
parent AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

azureNodePool AzureNodePool

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

azureNodePoolId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePool(CreateAzureNodePoolRequest, CallSettings)

[Obsolete]
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
Name Description
request CreateAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureNodePoolRequest request = new CreateAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.CreateAzureNodePool(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePool(string, AzureNodePool, string, CallSettings)

[Obsolete]
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
Name Description
parent string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

azureNodePool AzureNodePool

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

azureNodePoolId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The RPC response.

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

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePoolAsync(AzureClusterName, AzureNodePool, string, CallSettings)

[Obsolete]
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
Name Description
parent AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

azureNodePool AzureNodePool

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

azureNodePoolId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

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]");
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            string azureNodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePoolAsync(AzureClusterName, AzureNodePool, string, CancellationToken)

[Obsolete]
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
Name Description
parent AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

azureNodePool AzureNodePool

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

azureNodePoolId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

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]");
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            string azureNodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePoolAsync(CreateAzureNodePoolRequest, CallSettings)

[Obsolete]
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
Name Description
request CreateAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureNodePoolRequest request = new CreateAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePoolAsync(CreateAzureNodePoolRequest, CancellationToken)

[Obsolete]
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
Name Description
request CreateAzureNodePoolRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            CreateAzureNodePoolRequest request = new CreateAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePoolAsync(string, AzureNodePool, string, CallSettings)

[Obsolete]
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
Name Description
parent string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

azureNodePool AzureNodePool

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

azureNodePoolId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

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]";
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            string azureNodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

CreateAzureNodePoolAsync(string, AzureNodePool, string, CancellationToken)

[Obsolete]
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
Name Description
parent string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

azureNodePool AzureNodePool

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

azureNodePoolId string

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/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

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]";
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            string azureNodePoolId = "";
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.CreateAzureNodePoolAsync(parent, azureNodePool, azureNodePoolId);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

DeleteAzureClient(AzureClientName, CallSettings)

[Obsolete]
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
Name Description
name AzureClientName

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

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureClient(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClient(DeleteAzureClientRequest, CallSettings)

[Obsolete]
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
Name Description
request DeleteAzureClientRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureClientRequest request = new DeleteAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureClient(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClient(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureClient(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClientAsync(AzureClientName, CallSettings)

[Obsolete]
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
Name Description
name AzureClientName

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

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClientAsync(AzureClientName, CancellationToken)

[Obsolete]
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
Name Description
name AzureClientName

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

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClientAsync(DeleteAzureClientRequest, CallSettings)

[Obsolete]
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
Name Description
request DeleteAzureClientRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureClientRequest request = new DeleteAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClientAsync(DeleteAzureClientRequest, CancellationToken)

[Obsolete]
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
Name Description
request DeleteAzureClientRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureClientRequest request = new DeleteAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClientAsync(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClientAsync(string, CancellationToken)

[Obsolete]
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
Name Description
name string

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

[AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClientAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureCluster(AzureClusterName, CallSettings)

[Obsolete]
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
Name Description
name AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureCluster(DeleteAzureClusterRequest, CallSettings)

[Obsolete]
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
Name Description
request DeleteAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureClusterRequest request = new DeleteAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureCluster(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClusterAsync(AzureClusterName, CallSettings)

[Obsolete]
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
Name Description
name AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClusterAsync(AzureClusterName, CancellationToken)

[Obsolete]
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
Name Description
name AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClusterAsync(DeleteAzureClusterRequest, CallSettings)

[Obsolete]
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
Name Description
request DeleteAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureClusterRequest request = new DeleteAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClusterAsync(DeleteAzureClusterRequest, CancellationToken)

[Obsolete]
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
Name Description
request DeleteAzureClusterRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureClusterRequest request = new DeleteAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClusterAsync(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureClusterAsync(string, CancellationToken)

[Obsolete]
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
Name Description
name string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePool(AzureNodePoolName, CallSettings)

[Obsolete]
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
Name Description
name AzureNodePoolName

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePool(DeleteAzureNodePoolRequest, CallSettings)

[Obsolete]
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
Name Description
request DeleteAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureNodePoolRequest request = new DeleteAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePool(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceDeleteAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePoolAsync(AzureNodePoolName, CallSettings)

[Obsolete]
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
Name Description
name AzureNodePoolName

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePoolAsync(AzureNodePoolName, CancellationToken)

[Obsolete]
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
Name Description
name AzureNodePoolName

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest, CallSettings)

[Obsolete]
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
Name Description
request DeleteAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureNodePoolRequest request = new DeleteAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest, CancellationToken)

[Obsolete]
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
Name Description
request DeleteAzureNodePoolRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            DeleteAzureNodePoolRequest request = new DeleteAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePoolAsync(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

DeleteAzureNodePoolAsync(string, CancellationToken)

[Obsolete]
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
Name Description
name string

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

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
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
            Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
            // Retrieve the operation result
            Empty result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<Empty, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceDeleteAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                Empty retrievedResult = retrievedResponse.Result;
            }

GenerateAzureAccessToken(GenerateAzureAccessTokenRequest, CallSettings)

[Obsolete]
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
Name Description
request GenerateAzureAccessTokenRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GenerateAzureAccessTokenResponse

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            GenerateAzureAccessTokenResponse response = azureClustersClient.GenerateAzureAccessToken(request);
#pragma warning restore CS0612

GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest, CallSettings)

[Obsolete]
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
Name Description
request GenerateAzureAccessTokenRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerateAzureAccessTokenResponse

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            GenerateAzureAccessTokenResponse response = await azureClustersClient.GenerateAzureAccessTokenAsync(request);
#pragma warning restore CS0612

GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest, CancellationToken)

[Obsolete]
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
Name Description
request GenerateAzureAccessTokenRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskGenerateAzureAccessTokenResponse

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            GenerateAzureAccessTokenResponse response = await azureClustersClient.GenerateAzureAccessTokenAsync(request);
#pragma warning restore CS0612

GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest, CallSettings)

[Obsolete]
public virtual GenerateAzureClusterAgentTokenResponse GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request, CallSettings callSettings = null)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAzureClusterAgentTokenRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
GenerateAzureClusterAgentTokenResponse

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            GenerateAzureClusterAgentTokenResponse response = azureClustersClient.GenerateAzureClusterAgentToken(request);
#pragma warning restore CS0612

GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest, CallSettings)

[Obsolete]
public virtual Task<GenerateAzureClusterAgentTokenResponse> GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest request, CallSettings callSettings = null)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAzureClusterAgentTokenRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskGenerateAzureClusterAgentTokenResponse

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            GenerateAzureClusterAgentTokenResponse response = await azureClustersClient.GenerateAzureClusterAgentTokenAsync(request);
#pragma warning restore CS0612

GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest, CancellationToken)

[Obsolete]
public virtual Task<GenerateAzureClusterAgentTokenResponse> GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest request, CancellationToken cancellationToken)

Generates an access token for a cluster agent.

Parameters
Name Description
request GenerateAzureClusterAgentTokenRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskGenerateAzureClusterAgentTokenResponse

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            GenerateAzureClusterAgentTokenResponse response = await azureClustersClient.GenerateAzureClusterAgentTokenAsync(request);
#pragma warning restore CS0612

GetAzureClient(AzureClientName, CallSettings)

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

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

Parameters
Name Description
name AzureClientName

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureClient response = azureClustersClient.GetAzureClient(name);
#pragma warning restore CS0612

GetAzureClient(GetAzureClientRequest, CallSettings)

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

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

Parameters
Name Description
request GetAzureClientRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureClient

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureClientRequest request = new GetAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureClient response = azureClustersClient.GetAzureClient(request);
#pragma warning restore CS0612

GetAzureClient(string, CallSettings)

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

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

Parameters
Name Description
name string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureClient response = azureClustersClient.GetAzureClient(name);
#pragma warning restore CS0612

GetAzureClientAsync(AzureClientName, CallSettings)

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

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

Parameters
Name Description
name AzureClientName

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureClient

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
#pragma warning disable CS0612
            AzureClient response = await azureClustersClient.GetAzureClientAsync(name);
#pragma warning restore CS0612

GetAzureClientAsync(AzureClientName, CancellationToken)

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

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

Parameters
Name Description
name AzureClientName

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureClient

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
#pragma warning disable CS0612
            AzureClient response = await azureClustersClient.GetAzureClientAsync(name);
#pragma warning restore CS0612

GetAzureClientAsync(GetAzureClientRequest, CallSettings)

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

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

Parameters
Name Description
request GetAzureClientRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureClient

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureClientRequest request = new GetAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureClient response = await azureClustersClient.GetAzureClientAsync(request);
#pragma warning restore CS0612

GetAzureClientAsync(GetAzureClientRequest, CancellationToken)

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

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

Parameters
Name Description
request GetAzureClientRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureClient

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureClientRequest request = new GetAzureClientRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureClient response = await azureClustersClient.GetAzureClientAsync(request);
#pragma warning restore CS0612

GetAzureClientAsync(string, CallSettings)

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

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

Parameters
Name Description
name string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureClient

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
#pragma warning disable CS0612
            AzureClient response = await azureClustersClient.GetAzureClientAsync(name);
#pragma warning restore CS0612

GetAzureClientAsync(string, CancellationToken)

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

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

Parameters
Name Description
name string

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/<project-id>/locations/<region>/azureClients/<client-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureClient

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
#pragma warning disable CS0612
            AzureClient response = await azureClustersClient.GetAzureClientAsync(name);
#pragma warning restore CS0612

GetAzureCluster(AzureClusterName, CallSettings)

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

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

Parameters
Name Description
name AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureCluster response = azureClustersClient.GetAzureCluster(name);
#pragma warning restore CS0612

GetAzureCluster(GetAzureClusterRequest, CallSettings)

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

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

Parameters
Name Description
request GetAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureCluster

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureClusterRequest request = new GetAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureCluster response = azureClustersClient.GetAzureCluster(request);
#pragma warning restore CS0612

GetAzureCluster(string, CallSettings)

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

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

Parameters
Name Description
name string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureCluster response = azureClustersClient.GetAzureCluster(name);
#pragma warning restore CS0612

GetAzureClusterAsync(AzureClusterName, CallSettings)

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

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

Parameters
Name Description
name AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureCluster

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
#pragma warning disable CS0612
            AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);
#pragma warning restore CS0612

GetAzureClusterAsync(AzureClusterName, CancellationToken)

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

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

Parameters
Name Description
name AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureCluster

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
#pragma warning disable CS0612
            AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);
#pragma warning restore CS0612

GetAzureClusterAsync(GetAzureClusterRequest, CallSettings)

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

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

Parameters
Name Description
request GetAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureCluster

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureClusterRequest request = new GetAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureCluster response = await azureClustersClient.GetAzureClusterAsync(request);
#pragma warning restore CS0612

GetAzureClusterAsync(GetAzureClusterRequest, CancellationToken)

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

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

Parameters
Name Description
request GetAzureClusterRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureCluster

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureClusterRequest request = new GetAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureCluster response = await azureClustersClient.GetAzureClusterAsync(request);
#pragma warning restore CS0612

GetAzureClusterAsync(string, CallSettings)

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

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

Parameters
Name Description
name string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureCluster

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
#pragma warning disable CS0612
            AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);
#pragma warning restore CS0612

GetAzureClusterAsync(string, CancellationToken)

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

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

Parameters
Name Description
name string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureCluster

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
#pragma warning disable CS0612
            AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);
#pragma warning restore CS0612

GetAzureJsonWebKeys(AzureClusterName, CallSettings)

[Obsolete]
public virtual AzureJsonWebKeys GetAzureJsonWebKeys(AzureClusterName azureCluster, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
azureCluster AzureClusterName

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureJsonWebKeys

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
            AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(azureCluster);
#pragma warning restore CS0612

GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest, CallSettings)

[Obsolete]
public virtual AzureJsonWebKeys GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest request, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
request GetAzureJsonWebKeysRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureJsonWebKeys

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureJsonWebKeysRequest request = new GetAzureJsonWebKeysRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(request);
#pragma warning restore CS0612

GetAzureJsonWebKeys(string, CallSettings)

[Obsolete]
public virtual AzureJsonWebKeys GetAzureJsonWebKeys(string azureCluster, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
azureCluster string

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureJsonWebKeys

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
            string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(azureCluster);
#pragma warning restore CS0612

GetAzureJsonWebKeysAsync(AzureClusterName, CallSettings)

[Obsolete]
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(AzureClusterName azureCluster, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
azureCluster AzureClusterName

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureJsonWebKeys

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
#pragma warning restore CS0612

GetAzureJsonWebKeysAsync(AzureClusterName, CancellationToken)

[Obsolete]
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(AzureClusterName azureCluster, CancellationToken cancellationToken)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
azureCluster AzureClusterName

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureJsonWebKeys

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
#pragma warning restore CS0612

GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest, CallSettings)

[Obsolete]
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest request, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
request GetAzureJsonWebKeysRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureJsonWebKeys

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureJsonWebKeysRequest request = new GetAzureJsonWebKeysRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(request);
#pragma warning restore CS0612

GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest, CancellationToken)

[Obsolete]
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest request, CancellationToken cancellationToken)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
request GetAzureJsonWebKeysRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureJsonWebKeys

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureJsonWebKeysRequest request = new GetAzureJsonWebKeysRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(request);
#pragma warning restore CS0612

GetAzureJsonWebKeysAsync(string, CallSettings)

[Obsolete]
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(string azureCluster, CallSettings callSettings = null)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
azureCluster string

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureJsonWebKeys

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
#pragma warning restore CS0612

GetAzureJsonWebKeysAsync(string, CancellationToken)

[Obsolete]
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(string azureCluster, CancellationToken cancellationToken)

Gets the public component of the cluster signing keys in JSON Web Key format.

Parameters
Name Description
azureCluster string

Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureJsonWebKeys

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
            // Make the request
#pragma warning disable CS0612
            AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
#pragma warning restore CS0612

GetAzureNodePool(AzureNodePoolName, CallSettings)

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

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

Parameters
Name Description
name AzureNodePoolName

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureNodePool response = azureClustersClient.GetAzureNodePool(name);
#pragma warning restore CS0612

GetAzureNodePool(GetAzureNodePoolRequest, CallSettings)

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

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

Parameters
Name Description
request GetAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureNodePool

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureNodePoolRequest request = new GetAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureNodePool response = azureClustersClient.GetAzureNodePool(request);
#pragma warning restore CS0612

GetAzureNodePool(string, CallSettings)

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

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

Parameters
Name Description
name string

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureNodePool response = azureClustersClient.GetAzureNodePool(name);
#pragma warning restore CS0612

GetAzureNodePoolAsync(AzureNodePoolName, CallSettings)

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

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

Parameters
Name Description
name AzureNodePoolName

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureNodePool

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
#pragma warning disable CS0612
            AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);
#pragma warning restore CS0612

GetAzureNodePoolAsync(AzureNodePoolName, CancellationToken)

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

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

Parameters
Name Description
name AzureNodePoolName

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureNodePool

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
#pragma warning disable CS0612
            AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);
#pragma warning restore CS0612

GetAzureNodePoolAsync(GetAzureNodePoolRequest, CallSettings)

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

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

Parameters
Name Description
request GetAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureNodePool

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureNodePoolRequest request = new GetAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(request);
#pragma warning restore CS0612

GetAzureNodePoolAsync(GetAzureNodePoolRequest, CancellationToken)

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

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

Parameters
Name Description
request GetAzureNodePoolRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureNodePool

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureNodePoolRequest request = new GetAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(request);
#pragma warning restore CS0612

GetAzureNodePoolAsync(string, CallSettings)

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

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

Parameters
Name Description
name string

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureNodePool

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
#pragma warning disable CS0612
            AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);
#pragma warning restore CS0612

GetAzureNodePoolAsync(string, CancellationToken)

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

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

Parameters
Name Description
name string

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

AzureNodePool names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureNodePool

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
#pragma warning disable CS0612
            AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);
#pragma warning restore CS0612

GetAzureOpenIdConfig(AzureClusterName, CallSettings)

[Obsolete]
public virtual AzureOpenIdConfig GetAzureOpenIdConfig(AzureClusterName azureCluster, CallSettings callSettings = null)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
azureCluster AzureClusterName

Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureOpenIdConfig

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
            AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(azureCluster);
#pragma warning restore CS0612

GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest, CallSettings)

[Obsolete]
public virtual AzureOpenIdConfig GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest request, CallSettings callSettings = null)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
request GetAzureOpenIdConfigRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureOpenIdConfig

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureOpenIdConfigRequest request = new GetAzureOpenIdConfigRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(request);
#pragma warning restore CS0612

GetAzureOpenIdConfig(string, CallSettings)

[Obsolete]
public virtual AzureOpenIdConfig GetAzureOpenIdConfig(string azureCluster, CallSettings callSettings = null)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
azureCluster string

Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureOpenIdConfig

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
            string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(azureCluster);
#pragma warning restore CS0612

GetAzureOpenIdConfigAsync(AzureClusterName, CallSettings)

[Obsolete]
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(AzureClusterName azureCluster, CallSettings callSettings = null)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
azureCluster AzureClusterName

Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureOpenIdConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
#pragma warning restore CS0612

GetAzureOpenIdConfigAsync(AzureClusterName, CancellationToken)

[Obsolete]
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(AzureClusterName azureCluster, CancellationToken cancellationToken)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
azureCluster AzureClusterName

Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureOpenIdConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
#pragma warning restore CS0612

GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest, CallSettings)

[Obsolete]
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest request, CallSettings callSettings = null)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
request GetAzureOpenIdConfigRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureOpenIdConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureOpenIdConfigRequest request = new GetAzureOpenIdConfigRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(request);
#pragma warning restore CS0612

GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest, CancellationToken)

[Obsolete]
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest request, CancellationToken cancellationToken)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
request GetAzureOpenIdConfigRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureOpenIdConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureOpenIdConfigRequest request = new GetAzureOpenIdConfigRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(request);
#pragma warning restore CS0612

GetAzureOpenIdConfigAsync(string, CallSettings)

[Obsolete]
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(string azureCluster, CallSettings callSettings = null)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
azureCluster string

Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureOpenIdConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
#pragma warning restore CS0612

GetAzureOpenIdConfigAsync(string, CancellationToken)

[Obsolete]
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(string azureCluster, CancellationToken cancellationToken)

Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

Parameters
Name Description
azureCluster string

Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id>

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureOpenIdConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
            string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
            // Make the request
#pragma warning disable CS0612
            AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
#pragma warning restore CS0612

GetAzureServerConfig(AzureServerConfigName, CallSettings)

[Obsolete]
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
Name Description
name AzureServerConfigName

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

AzureServerConfig names are formatted as projects/<project-id>/locations/<region>/azureServerConfig.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureServerConfig

The RPC response.

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

GetAzureServerConfig(GetAzureServerConfigRequest, CallSettings)

[Obsolete]
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
Name Description
request GetAzureServerConfigRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
AzureServerConfig

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureServerConfigRequest request = new GetAzureServerConfigRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureServerConfig response = azureClustersClient.GetAzureServerConfig(request);
#pragma warning restore CS0612

GetAzureServerConfig(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

AzureServerConfig names are formatted as projects/<project-id>/locations/<region>/azureServerConfig.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
#pragma warning disable CS0612
            AzureServerConfig response = azureClustersClient.GetAzureServerConfig(name);
#pragma warning restore CS0612

GetAzureServerConfigAsync(AzureServerConfigName, CallSettings)

[Obsolete]
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
Name Description
name AzureServerConfigName

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

AzureServerConfig names are formatted as projects/<project-id>/locations/<region>/azureServerConfig.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureServerConfig

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
#pragma warning disable CS0612
            AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);
#pragma warning restore CS0612

GetAzureServerConfigAsync(AzureServerConfigName, CancellationToken)

[Obsolete]
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
Name Description
name AzureServerConfigName

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

AzureServerConfig names are formatted as projects/<project-id>/locations/<region>/azureServerConfig.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureServerConfig

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
#pragma warning disable CS0612
            AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);
#pragma warning restore CS0612

GetAzureServerConfigAsync(GetAzureServerConfigRequest, CallSettings)

[Obsolete]
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
Name Description
request GetAzureServerConfigRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureServerConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureServerConfigRequest request = new GetAzureServerConfigRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(request);
#pragma warning restore CS0612

GetAzureServerConfigAsync(GetAzureServerConfigRequest, CancellationToken)

[Obsolete]
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
Name Description
request GetAzureServerConfigRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureServerConfig

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            GetAzureServerConfigRequest request = new GetAzureServerConfigRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(request);
#pragma warning restore CS0612

GetAzureServerConfigAsync(string, CallSettings)

[Obsolete]
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
Name Description
name string

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

AzureServerConfig names are formatted as projects/<project-id>/locations/<region>/azureServerConfig.

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAzureServerConfig

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
#pragma warning disable CS0612
            AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);
#pragma warning restore CS0612

GetAzureServerConfigAsync(string, CancellationToken)

[Obsolete]
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
Name Description
name string

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

AzureServerConfig names are formatted as projects/<project-id>/locations/<region>/azureServerConfig.

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskAzureServerConfig

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
#pragma warning disable CS0612
            AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);
#pragma warning restore CS0612

ListAzureClients(LocationName, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureClientsResponseAzureClient

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
#pragma warning disable CS0612
            PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureClientsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureClient item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureClient> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureClient item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClients(ListAzureClientsRequest, CallSettings)

[Obsolete]
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
Name Description
request ListAzureClientsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureClientsResponseAzureClient

A pageable sequence of AzureClient resources.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            ListAzureClientsRequest request = new ListAzureClientsRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(request);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureClientsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureClient item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureClient> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureClient item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClients(string, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureClientsResponseAzureClient

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
#pragma warning disable CS0612
            PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureClientsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureClient item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureClient> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureClient item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClientsAsync(LocationName, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureClientsResponseAzureClient

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
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureClient item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureClient item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClientsAsync(ListAzureClientsRequest, CallSettings)

[Obsolete]
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
Name Description
request ListAzureClientsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureClientsResponseAzureClient

A pageable asynchronous sequence of AzureClient resources.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            ListAzureClientsRequest request = new ListAzureClientsRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(request);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureClient item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureClient item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClientsAsync(string, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureClientsResponseAzureClient

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
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureClient item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureClient item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(LocationName, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureClustersResponseAzureCluster

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
#pragma warning disable CS0612
            PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureClustersResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureCluster item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureCluster> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureCluster item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(ListAzureClustersRequest, CallSettings)

[Obsolete]
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
Name Description
request ListAzureClustersRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureClustersResponseAzureCluster

A pageable sequence of AzureCluster resources.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            ListAzureClustersRequest request = new ListAzureClustersRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(request);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureClustersResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureCluster item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureCluster> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureCluster item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(string, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureClustersResponseAzureCluster

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
#pragma warning disable CS0612
            PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureClustersResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureCluster item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureCluster> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureCluster item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(LocationName, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent LocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureClustersResponseAzureCluster

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
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureCluster item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureCluster item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(ListAzureClustersRequest, CallSettings)

[Obsolete]
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
Name Description
request ListAzureClustersRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureClustersResponseAzureCluster

A pageable asynchronous sequence of AzureCluster resources.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            ListAzureClustersRequest request = new ListAzureClustersRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(request);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureCluster item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureCluster item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(string, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent string

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

Location names are formatted as projects/<project-id>/locations/<region>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureClustersResponseAzureCluster

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
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureCluster item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureCluster item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(AzureClusterName, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureNodePoolsResponseAzureNodePool

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
#pragma warning disable CS0612
            PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureNodePool item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureNodePool item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(ListAzureNodePoolsRequest, CallSettings)

[Obsolete]
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
Name Description
request ListAzureNodePoolsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureNodePoolsResponseAzureNodePool

A pageable sequence of AzureNodePool resources.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(request);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureNodePool item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureNodePool item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(string, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAzureNodePoolsResponseAzureNodePool

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
#pragma warning disable CS0612
            PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);
#pragma warning restore CS0612

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

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureNodePool item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            }

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureNodePool item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(AzureClusterName, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent AzureClusterName

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool

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
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(parent);
#pragma warning restore CS0612

            // Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
            await response.ForEachAsync((AzureNodePool item) =>
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            });

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureNodePool item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureNodePool item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(ListAzureNodePoolsRequest, CallSettings)

[Obsolete]
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
Name Description
request ListAzureNodePoolsRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool

A pageable asynchronous sequence of AzureNodePool resources.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(request);
#pragma warning restore CS0612

            // Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
            await response.ForEachAsync((AzureNodePool item) =>
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            });

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureNodePool item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureNodePool item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(string, string, int?, CallSettings)

[Obsolete]
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
Name Description
parent string

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

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

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

pageToken string

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

pageSize int

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.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool

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
#pragma warning disable CS0612
            PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(parent);
#pragma warning restore CS0612

            // Iterate over all response items, lazily performing RPCs as required
#pragma warning disable CS0612
            await response.ForEachAsync((AzureNodePool item) =>
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            });

            // Or iterate over pages (of server-defined size), performing one RPC per page
#pragma warning disable CS0612
            await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
#pragma warning restore CS0612
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
#pragma warning disable CS0612
                foreach (AzureNodePool item in page)
#pragma warning restore CS0612
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
#pragma warning disable CS0612
            Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
#pragma warning restore CS0612
            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
#pragma warning disable CS0612
            foreach (AzureNodePool item in singlePage)
#pragma warning restore CS0612
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;

PollOnceCreateAzureClient(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClientOperationMetadata

The result of polling the operation.

PollOnceCreateAzureClientAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClientOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateAzureCluster(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The result of polling the operation.

PollOnceCreateAzureClusterAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateAzureNodePool(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The result of polling the operation.

PollOnceCreateAzureNodePoolAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAzureClient(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAzureClientAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAzureCluster(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAzureClusterAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAzureNodePool(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAzureNodePoolAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateAzureCluster(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The result of polling the operation.

PollOnceUpdateAzureClusterAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateAzureNodePool(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The result of polling the operation.

PollOnceUpdateAzureNodePoolAsync(string, CallSettings)

[Obsolete]
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
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

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
Type Description
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)

[Obsolete]
public virtual Operation<AzureCluster, OperationMetadata> UpdateAzureCluster(AzureCluster azureCluster, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
Name Description
azureCluster AzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMask FieldMask

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.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            AzureCluster azureCluster = new AzureCluster();
#pragma warning restore CS0612
            FieldMask updateMask = new FieldMask();
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = azureClustersClient.UpdateAzureCluster(azureCluster, updateMask);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureCluster(UpdateAzureClusterRequest, CallSettings)

[Obsolete]
public virtual Operation<AzureCluster, OperationMetadata> UpdateAzureCluster(UpdateAzureClusterRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureClusterOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            UpdateAzureClusterRequest request = new UpdateAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = azureClustersClient.UpdateAzureCluster(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureCluster(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureClusterAsync(AzureCluster, FieldMask, CallSettings)

[Obsolete]
public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
Name Description
azureCluster AzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMask FieldMask

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.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            AzureCluster azureCluster = new AzureCluster();
#pragma warning restore CS0612
            FieldMask updateMask = new FieldMask();
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(azureCluster, updateMask);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureClusterAsync(AzureCluster, FieldMask, CancellationToken)

[Obsolete]
public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask, CancellationToken cancellationToken)

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

Parameters
Name Description
azureCluster AzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMask FieldMask

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.
  • azureClient.
  • control_plane.version.
  • control_plane.vm_size.
  • annotations.
  • authorization.admin_users.
  • authorization.admin_groups.
  • control_plane.root_volume.size_gib.
  • azure_services_authentication.
  • azure_services_authentication.tenant_id.
  • azure_services_authentication.application_id.
  • control_plane.proxy_config.
  • control_plane.proxy_config.resource_group_id.
  • control_plane.proxy_config.secret_id.
  • control_plane.ssh_config.authorized_key.
  • logging_config.component_config.enable_components
  • monitoring_config.managed_prometheus_config.enabled.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            AzureCluster azureCluster = new AzureCluster();
#pragma warning restore CS0612
            FieldMask updateMask = new FieldMask();
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(azureCluster, updateMask);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureClusterAsync(UpdateAzureClusterRequest, CallSettings)

[Obsolete]
public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(UpdateAzureClusterRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateAzureClusterRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            UpdateAzureClusterRequest request = new UpdateAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureClusterAsync(UpdateAzureClusterRequest, CancellationToken)

[Obsolete]
public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(UpdateAzureClusterRequest request, CancellationToken cancellationToken)

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

Parameters
Name Description
request UpdateAzureClusterRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            UpdateAzureClusterRequest request = new UpdateAzureClusterRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureCluster result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureCluster retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureNodePool(AzureNodePool, FieldMask, CallSettings)

[Obsolete]
public virtual Operation<AzureNodePool, OperationMetadata> UpdateAzureNodePool(AzureNodePool azureNodePool, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
Name Description
azureNodePool AzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMask FieldMask

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.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            FieldMask updateMask = new FieldMask();
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.UpdateAzureNodePool(azureNodePool, updateMask);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureNodePool(UpdateAzureNodePoolRequest, CallSettings)

[Obsolete]
public virtual Operation<AzureNodePool, OperationMetadata> UpdateAzureNodePool(UpdateAzureNodePoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAzureNodePoolOperationMetadata

The RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = AzureClustersClient.Create();
            // Initialize request argument(s)
#pragma warning disable CS0612
            UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.UpdateAzureNodePool(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureNodePool(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureNodePoolAsync(AzureNodePool, FieldMask, CallSettings)

[Obsolete]
public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask, CallSettings callSettings = null)

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

Parameters
Name Description
azureNodePool AzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMask FieldMask

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.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            FieldMask updateMask = new FieldMask();
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(azureNodePool, updateMask);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureNodePoolAsync(AzureNodePool, FieldMask, CancellationToken)

[Obsolete]
public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask, CancellationToken cancellationToken)

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

Parameters
Name Description
azureNodePool AzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMask FieldMask

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.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            AzureNodePool azureNodePool = new AzureNodePool();
#pragma warning restore CS0612
            FieldMask updateMask = new FieldMask();
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(azureNodePool, updateMask);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest, CallSettings)

[Obsolete]
public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateAzureNodePoolRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }

UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest, CancellationToken)

[Obsolete]
public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest request, CancellationToken cancellationToken)

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

Parameters
Name Description
request UpdateAzureNodePoolRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
            // Create client
            AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
            // Initialize request argument(s)
#pragma warning disable CS0612
            UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest { };
#pragma warning restore CS0612
            // Make the request
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(request);
#pragma warning restore CS0612

            // Poll until the returned long-running operation is complete
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
#pragma warning restore CS0612
            // Retrieve the operation result
#pragma warning disable CS0612
            AzureNodePool result = completedResponse.Result;
#pragma warning restore CS0612

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
#pragma warning disable CS0612
            Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
#pragma warning restore CS0612
            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
#pragma warning disable CS0612
                AzureNodePool retrievedResult = retrievedResponse.Result;
#pragma warning restore CS0612
            }