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

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
TypeDescription
OperationsClient

CreateAzureClusterOperationsClient

public virtual OperationsClient CreateAzureClusterOperationsClient { get; }

The long-running operations client for CreateAzureCluster.

Property Value
TypeDescription
OperationsClient

CreateAzureNodePoolOperationsClient

public virtual OperationsClient CreateAzureNodePoolOperationsClient { get; }

The long-running operations client for CreateAzureNodePool.

Property Value
TypeDescription
OperationsClient

DefaultEndpoint

public static string DefaultEndpoint { get; }

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

Property Value
TypeDescription
string

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default AzureClusters scopes.

Property Value
TypeDescription
IReadOnlyListstring
Remarks

The default AzureClusters scopes are:

DeleteAzureClientOperationsClient

public virtual OperationsClient DeleteAzureClientOperationsClient { get; }

The long-running operations client for DeleteAzureClient.

Property Value
TypeDescription
OperationsClient

DeleteAzureClusterOperationsClient

public virtual OperationsClient DeleteAzureClusterOperationsClient { get; }

The long-running operations client for DeleteAzureCluster.

Property Value
TypeDescription
OperationsClient

DeleteAzureNodePoolOperationsClient

public virtual OperationsClient DeleteAzureNodePoolOperationsClient { get; }

The long-running operations client for DeleteAzureNodePool.

Property Value
TypeDescription
OperationsClient

GrpcClient

public virtual AzureClusters.AzureClustersClient GrpcClient { get; }

The underlying gRPC AzureClusters client

Property Value
TypeDescription
AzureClustersAzureClustersClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
TypeDescription
ServiceMetadata

UpdateAzureClusterOperationsClient

public virtual OperationsClient UpdateAzureClusterOperationsClient { get; }

The long-running operations client for UpdateAzureCluster.

Property Value
TypeDescription
OperationsClient

UpdateAzureNodePoolOperationsClient

public virtual OperationsClient UpdateAzureNodePoolOperationsClient { get; }

The long-running operations client for UpdateAzureNodePool.

Property Value
TypeDescription
OperationsClient

Methods

Create()

public static AzureClustersClient Create()

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

Returns
TypeDescription
AzureClustersClient

The created AzureClustersClient.

CreateAsync(CancellationToken)

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

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

Parameter
NameDescription
cancellationTokenCancellationToken

The CancellationToken to use while creating the client.

Returns
TypeDescription
TaskAzureClustersClient

The task representing the created AzureClustersClient.

CreateAzureClient(LocationName, AzureClient, string, CallSettings)

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

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

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

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

Parameters
NameDescription
parentLocationName

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

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

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

azureClientAzureClient

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

azureClientIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClientOperationMetadata

The RPC response.

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

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

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

CreateAzureClient(CreateAzureClientRequest, CallSettings)

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

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

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

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

Parameters
NameDescription
requestCreateAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClientOperationMetadata

The RPC response.

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

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

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

CreateAzureClient(string, AzureClient, string, CallSettings)

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

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

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

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

Parameters
NameDescription
parentstring

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

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

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

azureClientAzureClient

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

azureClientIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClientOperationMetadata

The RPC response.

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

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

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

CreateAzureClientAsync(LocationName, AzureClient, string, CallSettings)

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

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

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

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

Parameters
NameDescription
parentLocationName

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

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

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

azureClientAzureClient

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

azureClientIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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]");
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

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

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

CreateAzureClientAsync(LocationName, AzureClient, string, CancellationToken)

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

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

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

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

Parameters
NameDescription
parentLocationName

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

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

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

azureClientAzureClient

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

azureClientIdstring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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]");
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

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

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

CreateAzureClientAsync(CreateAzureClientRequest, CallSettings)

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

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

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

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

Parameters
NameDescription
requestCreateAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

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

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

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

CreateAzureClientAsync(CreateAzureClientRequest, CancellationToken)

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

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

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

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

Parameters
NameDescription
requestCreateAzureClientRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureClientOperationMetadata

A Task containing the RPC response.

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

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

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

CreateAzureClientAsync(string, AzureClient, string, CallSettings)

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

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

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

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

Parameters
NameDescription
parentstring

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

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

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

azureClientAzureClient

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

azureClientIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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]";
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

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

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

CreateAzureClientAsync(string, AzureClient, string, CancellationToken)

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

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

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

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

Parameters
NameDescription
parentstring

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

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

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

azureClientAzureClient

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

azureClientIdstring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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]";
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);

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

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

CreateAzureCluster(LocationName, AzureCluster, string, CallSettings)

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

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

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

Parameters
NameDescription
parentLocationName

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.

azureClusterAzureCluster

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

azureClusterIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The RPC response.

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

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

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

CreateAzureCluster(CreateAzureClusterRequest, CallSettings)

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

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

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

Parameters
NameDescription
requestCreateAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The RPC response.

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

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

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

CreateAzureCluster(string, AzureCluster, string, CallSettings)

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

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

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

Parameters
NameDescription
parentstring

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.

azureClusterAzureCluster

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

azureClusterIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The RPC response.

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

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

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

CreateAzureClusterAsync(LocationName, AzureCluster, string, CallSettings)

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

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

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

Parameters
NameDescription
parentLocationName

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.

azureClusterAzureCluster

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

azureClusterIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

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

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

CreateAzureClusterAsync(LocationName, AzureCluster, string, CancellationToken)

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

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

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

Parameters
NameDescription
parentLocationName

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.

azureClusterAzureCluster

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

azureClusterIdstring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

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

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

CreateAzureClusterAsync(CreateAzureClusterRequest, CallSettings)

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

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

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

Parameters
NameDescription
requestCreateAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

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

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

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

CreateAzureClusterAsync(CreateAzureClusterRequest, CancellationToken)

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

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

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

Parameters
NameDescription
requestCreateAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

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

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

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

CreateAzureClusterAsync(string, AzureCluster, string, CallSettings)

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

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

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

Parameters
NameDescription
parentstring

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.

azureClusterAzureCluster

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

azureClusterIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

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

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

CreateAzureClusterAsync(string, AzureCluster, string, CancellationToken)

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

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

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

Parameters
NameDescription
parentstring

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.

azureClusterAzureCluster

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

azureClusterIdstring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);

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

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

CreateAzureNodePool(AzureClusterName, AzureNodePool, string, CallSettings)

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

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

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

Parameters
NameDescription
parentAzureClusterName

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

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

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

azureNodePoolAzureNodePool

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

azureNodePoolIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The RPC response.

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

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

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

CreateAzureNodePool(CreateAzureNodePoolRequest, CallSettings)

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

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

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

Parameters
NameDescription
requestCreateAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The RPC response.

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

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

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

CreateAzureNodePool(string, AzureNodePool, string, CallSettings)

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

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

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

Parameters
NameDescription
parentstring

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

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

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

azureNodePoolAzureNodePool

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

azureNodePoolIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The RPC response.

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

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

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

CreateAzureNodePoolAsync(AzureClusterName, AzureNodePool, string, CallSettings)

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

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

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

Parameters
NameDescription
parentAzureClusterName

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

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

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

azureNodePoolAzureNodePool

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

azureNodePoolIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

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

CreateAzureNodePoolAsync(AzureClusterName, AzureNodePool, string, CancellationToken)

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

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

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

Parameters
NameDescription
parentAzureClusterName

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

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

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

azureNodePoolAzureNodePool

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

azureNodePoolIdstring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

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

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

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

CreateAzureNodePoolAsync(CreateAzureNodePoolRequest, CallSettings)

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

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

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

Parameters
NameDescription
requestCreateAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

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

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

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

CreateAzureNodePoolAsync(CreateAzureNodePoolRequest, CancellationToken)

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

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

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

Parameters
NameDescription
requestCreateAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

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

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

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

CreateAzureNodePoolAsync(string, AzureNodePool, string, CallSettings)

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

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

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

Parameters
NameDescription
parentstring

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

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

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

azureNodePoolAzureNodePool

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

azureNodePoolIdstring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

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

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

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

CreateAzureNodePoolAsync(string, AzureNodePool, string, CancellationToken)

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

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

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

Parameters
NameDescription
parentstring

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

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

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

azureNodePoolAzureNodePool

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

azureNodePoolIdstring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

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

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

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

DeleteAzureClient(AzureClientName, CallSettings)

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

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

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

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

Parameters
NameDescription
nameAzureClientName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(name);

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

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

DeleteAzureClient(DeleteAzureClientRequest, CallSettings)

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

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

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

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

Parameters
NameDescription
requestDeleteAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

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

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

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

DeleteAzureClient(string, CallSettings)

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

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

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureClient(name);

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

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

DeleteAzureClientAsync(AzureClientName, CallSettings)

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

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

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

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

Parameters
NameDescription
nameAzureClientName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

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

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

DeleteAzureClientAsync(AzureClientName, CancellationToken)

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

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

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

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

Parameters
NameDescription
nameAzureClientName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

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

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

DeleteAzureClientAsync(DeleteAzureClientRequest, CallSettings)

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

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

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

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

Parameters
NameDescription
requestDeleteAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

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

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

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

DeleteAzureClientAsync(DeleteAzureClientRequest, CancellationToken)

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

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

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

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

Parameters
NameDescription
requestDeleteAzureClientRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

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

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

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

DeleteAzureClientAsync(string, CallSettings)

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

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

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

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

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

DeleteAzureClientAsync(string, CancellationToken)

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

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

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

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClientAsync(name);

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

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

DeleteAzureCluster(AzureClusterName, CallSettings)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
nameAzureClusterName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(name);

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

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

DeleteAzureCluster(DeleteAzureClusterRequest, CallSettings)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
requestDeleteAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

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

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

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

DeleteAzureCluster(string, CallSettings)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureCluster(name);

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

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

DeleteAzureClusterAsync(AzureClusterName, CallSettings)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
nameAzureClusterName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

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

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

DeleteAzureClusterAsync(AzureClusterName, CancellationToken)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
nameAzureClusterName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

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

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

DeleteAzureClusterAsync(DeleteAzureClusterRequest, CallSettings)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
requestDeleteAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

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

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

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

DeleteAzureClusterAsync(DeleteAzureClusterRequest, CancellationToken)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
requestDeleteAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

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

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

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

DeleteAzureClusterAsync(string, CallSettings)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

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

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

DeleteAzureClusterAsync(string, CancellationToken)

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

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

Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureClusterAsync(name);

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

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

DeleteAzureNodePool(AzureNodePoolName, CallSettings)

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

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

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

Parameters
NameDescription
nameAzureNodePoolName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(name);

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

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

DeleteAzureNodePool(DeleteAzureNodePoolRequest, CallSettings)

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

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

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

Parameters
NameDescription
requestDeleteAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The RPC response.

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

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

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

DeleteAzureNodePool(string, CallSettings)

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

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = azureClustersClient.DeleteAzureNodePool(name);

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

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

DeleteAzureNodePoolAsync(AzureNodePoolName, CallSettings)

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

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

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

Parameters
NameDescription
nameAzureNodePoolName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

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

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

DeleteAzureNodePoolAsync(AzureNodePoolName, CancellationToken)

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

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

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

Parameters
NameDescription
nameAzureNodePoolName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

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

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

DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest, CallSettings)

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

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

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

Parameters
NameDescription
requestDeleteAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

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

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

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

DeleteAzureNodePoolAsync(DeleteAzureNodePoolRequest, CancellationToken)

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

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

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

Parameters
NameDescription
requestDeleteAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

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

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

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

DeleteAzureNodePoolAsync(string, CallSettings)

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

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

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

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

DeleteAzureNodePoolAsync(string, CancellationToken)

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

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

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
Operation<Empty, OperationMetadata> response = await azureClustersClient.DeleteAzureNodePoolAsync(name);

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

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

GenerateAzureAccessToken(GenerateAzureAccessTokenRequest, CallSettings)

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

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

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GenerateAzureAccessTokenResponse

The RPC response.

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

GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest, CallSettings)

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

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

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerateAzureAccessTokenResponse

A Task containing the RPC response.

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

GenerateAzureAccessTokenAsync(GenerateAzureAccessTokenRequest, CancellationToken)

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

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

Parameters
NameDescription
requestGenerateAzureAccessTokenRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskGenerateAzureAccessTokenResponse

A Task containing the RPC response.

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

GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest, CallSettings)

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

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAzureClusterAgentTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest
{
    AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    SubjectToken = "",
    SubjectTokenType = "",
    Version = "",
    NodePoolId = "",
    GrantType = "",
    Audience = "",
    Scope = "",
    RequestedTokenType = "",
    Options = "",
};
// Make the request
GenerateAzureClusterAgentTokenResponse response = azureClustersClient.GenerateAzureClusterAgentToken(request);

GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest, CallSettings)

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

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAzureClusterAgentTokenRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskGenerateAzureClusterAgentTokenResponse

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest
{
    AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    SubjectToken = "",
    SubjectTokenType = "",
    Version = "",
    NodePoolId = "",
    GrantType = "",
    Audience = "",
    Scope = "",
    RequestedTokenType = "",
    Options = "",
};
// Make the request
GenerateAzureClusterAgentTokenResponse response = await azureClustersClient.GenerateAzureClusterAgentTokenAsync(request);

GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest, CancellationToken)

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

Generates an access token for a cluster agent.

Parameters
NameDescription
requestGenerateAzureClusterAgentTokenRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskGenerateAzureClusterAgentTokenResponse

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest
{
    AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
    SubjectToken = "",
    SubjectTokenType = "",
    Version = "",
    NodePoolId = "",
    GrantType = "",
    Audience = "",
    Scope = "",
    RequestedTokenType = "",
    Options = "",
};
// Make the request
GenerateAzureClusterAgentTokenResponse response = await azureClustersClient.GenerateAzureClusterAgentTokenAsync(request);

GetAzureClient(AzureClientName, CallSettings)

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

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

Parameters
NameDescription
nameAzureClientName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureClient

The RPC response.

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

GetAzureClient(GetAzureClientRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureClient

The RPC response.

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

GetAzureClient(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureClient

The RPC response.

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

GetAzureClientAsync(AzureClientName, CallSettings)

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

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

Parameters
NameDescription
nameAzureClientName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureClientAsync(AzureClientName, CancellationToken)

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

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

Parameters
NameDescription
nameAzureClientName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureClientAsync(GetAzureClientRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureClientRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAzureClient

A Task containing the RPC response.

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

GetAzureClientAsync(GetAzureClientRequest, CancellationToken)

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

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

Parameters
NameDescription
requestGetAzureClientRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAzureClient

A Task containing the RPC response.

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

GetAzureClientAsync(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureClientAsync(string, CancellationToken)

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

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureClient response = await azureClustersClient.GetAzureClientAsync(name);

GetAzureCluster(AzureClusterName, CallSettings)

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

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

Parameters
NameDescription
nameAzureClusterName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureCluster

The RPC response.

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

GetAzureCluster(GetAzureClusterRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureCluster

The RPC response.

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

GetAzureCluster(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureCluster

The RPC response.

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

GetAzureClusterAsync(AzureClusterName, CallSettings)

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

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

Parameters
NameDescription
nameAzureClusterName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureClusterAsync(AzureClusterName, CancellationToken)

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

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

Parameters
NameDescription
nameAzureClusterName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureClusterAsync(GetAzureClusterRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureClusterRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAzureCluster

A Task containing the RPC response.

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

GetAzureClusterAsync(GetAzureClusterRequest, CancellationToken)

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

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

Parameters
NameDescription
requestGetAzureClusterRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAzureCluster

A Task containing the RPC response.

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

GetAzureClusterAsync(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureClusterAsync(string, CancellationToken)

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

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);

GetAzureJsonWebKeys(AzureClusterName, CallSettings)

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

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

Parameters
NameDescription
azureClusterAzureClusterName

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(azureCluster);

GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureJsonWebKeysRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureJsonWebKeys

The RPC response.

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

GetAzureJsonWebKeys(string, CallSettings)

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

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

Parameters
NameDescription
azureClusterstring

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(azureCluster);

GetAzureJsonWebKeysAsync(AzureClusterName, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);

GetAzureJsonWebKeysAsync(AzureClusterName, CancellationToken)

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

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

Parameters
NameDescription
azureClusterAzureClusterName

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);

GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAzureJsonWebKeys

A Task containing the RPC response.

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

GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest, CancellationToken)

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

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

Parameters
NameDescription
requestGetAzureJsonWebKeysRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAzureJsonWebKeys

A Task containing the RPC response.

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

GetAzureJsonWebKeysAsync(string, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);

GetAzureJsonWebKeysAsync(string, CancellationToken)

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

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

Parameters
NameDescription
azureClusterstring

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);

GetAzureNodePool(AzureNodePoolName, CallSettings)

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

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

Parameters
NameDescription
nameAzureNodePoolName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureNodePool

The RPC response.

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

GetAzureNodePool(GetAzureNodePoolRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureNodePool

The RPC response.

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

GetAzureNodePool(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureNodePool

The RPC response.

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

GetAzureNodePoolAsync(AzureNodePoolName, CallSettings)

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

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

Parameters
NameDescription
nameAzureNodePoolName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureNodePoolAsync(AzureNodePoolName, CancellationToken)

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

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

Parameters
NameDescription
nameAzureNodePoolName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureNodePoolAsync(GetAzureNodePoolRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureNodePoolRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAzureNodePool

A Task containing the RPC response.

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

GetAzureNodePoolAsync(GetAzureNodePoolRequest, CancellationToken)

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

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

Parameters
NameDescription
requestGetAzureNodePoolRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAzureNodePool

A Task containing the RPC response.

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

GetAzureNodePoolAsync(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureNodePoolAsync(string, CancellationToken)

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

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);

GetAzureOpenIdConfig(AzureClusterName, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(azureCluster);

GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureOpenIdConfig

The RPC response.

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

GetAzureOpenIdConfig(string, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(azureCluster);

GetAzureOpenIdConfigAsync(AzureClusterName, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);

GetAzureOpenIdConfigAsync(AzureClusterName, CancellationToken)

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);

GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAzureOpenIdConfig

A Task containing the RPC response.

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

GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest, CancellationToken)

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAzureOpenIdConfig

A Task containing the RPC response.

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

GetAzureOpenIdConfigAsync(string, CallSettings)

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);

GetAzureOpenIdConfigAsync(string, CancellationToken)

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);

GetAzureServerConfig(AzureServerConfigName, CallSettings)

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

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

Parameters
NameDescription
nameAzureServerConfigName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureServerConfig

The RPC response.

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

GetAzureServerConfig(GetAzureServerConfigRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureServerConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureServerConfig

The RPC response.

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

GetAzureServerConfig(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AzureServerConfig

The RPC response.

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

GetAzureServerConfigAsync(AzureServerConfigName, CallSettings)

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

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

Parameters
NameDescription
nameAzureServerConfigName

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

GetAzureServerConfigAsync(AzureServerConfigName, CancellationToken)

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

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

Parameters
NameDescription
nameAzureServerConfigName

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

GetAzureServerConfigAsync(GetAzureServerConfigRequest, CallSettings)

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

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

Parameters
NameDescription
requestGetAzureServerConfigRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskAzureServerConfig

A Task containing the RPC response.

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

GetAzureServerConfigAsync(GetAzureServerConfigRequest, CancellationToken)

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

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

Parameters
NameDescription
requestGetAzureServerConfigRequest

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskAzureServerConfig

A Task containing the RPC response.

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

GetAzureServerConfigAsync(string, CallSettings)

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

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

Parameters
NameDescription
namestring

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

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

GetAzureServerConfigAsync(string, CancellationToken)

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

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

Parameters
NameDescription
namestring

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

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

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

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
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
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);

ListAzureClients(LocationName, string, int?, CallSettings)

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

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

Parameters
NameDescription
parentLocationName

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

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

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

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);

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

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

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

ListAzureClients(ListAzureClientsRequest, CallSettings)

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

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

Parameters
NameDescription
requestListAzureClientsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAzureClientsResponseAzureClient

A pageable sequence of AzureClient resources.

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

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

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

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

ListAzureClients(string, string, int?, CallSettings)

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

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

Parameters
NameDescription
parentstring

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

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

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

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);

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

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

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

ListAzureClientsAsync(LocationName, string, int?, CallSettings)

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

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

Parameters
NameDescription
parentLocationName

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

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

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

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);

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

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

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

ListAzureClientsAsync(ListAzureClientsRequest, CallSettings)

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

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

Parameters
NameDescription
requestListAzureClientsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAzureClientsResponseAzureClient

A pageable asynchronous sequence of AzureClient resources.

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

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

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

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

ListAzureClientsAsync(string, string, int?, CallSettings)

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

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

Parameters
NameDescription
parentstring

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

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

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

pageTokenstring

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

pageSizeint

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);

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

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

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

ListAzureClusters(LocationName, string, int?, CallSettings)

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

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

Parameters
NameDescription
parentLocationName

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

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud Platform resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(ListAzureClustersRequest, CallSettings)

public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(ListAzureClustersRequest request, CallSettings callSettings = null)

Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAzureClustersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAzureClustersResponseAzureCluster

A pageable sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureClustersRequest request = new ListAzureClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClusters(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
parentstring

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud Platform resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
parentLocationName

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud Platform resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(ListAzureClustersRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(ListAzureClustersRequest request, CallSettings callSettings = null)

Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
requestListAzureClustersRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAzureClustersResponseAzureCluster

A pageable asynchronous sequence of AzureCluster resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureClustersRequest request = new ListAzureClustersRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureClustersAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.

Parameters
NameDescription
parentstring

Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud Platform resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureCluster item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(AzureClusterName, string, int?, CallSettings)

public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentAzureClusterName

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(ListAzureNodePoolsRequest, CallSettings)

public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(ListAzureNodePoolsRequest request, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestListAzureNodePoolsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListAzureNodePoolsResponseAzureNodePool

A pageable sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePools(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentstring

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
    // Do something with each item
    Console.WriteLine(item);
}

// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
}

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(AzureClusterName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentAzureClusterName

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(ListAzureNodePoolsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(ListAzureNodePoolsRequest request, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestListAzureNodePoolsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool

A pageable asynchronous sequence of AzureNodePool resources.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest
{
    ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

ListAzureNodePoolsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
parentstring

Required. The parent AzureCluster which owns this collection of [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

pageTokenstring

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeint

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (AzureNodePool item in page)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
});

// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
    // Do something with each item
    Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;

PollOnceCreateAzureClient(string, CallSettings)

public virtual Operation<AzureClient, OperationMetadata> PollOnceCreateAzureClient(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAzureClient .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClientOperationMetadata

The result of polling the operation.

PollOnceCreateAzureClientAsync(string, CallSettings)

public virtual Task<Operation<AzureClient, OperationMetadata>> PollOnceCreateAzureClientAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAzureClient.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClientOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateAzureCluster(string, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> PollOnceCreateAzureCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAzureCluster .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The result of polling the operation.

PollOnceCreateAzureClusterAsync(string, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceCreateAzureClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAzureCluster.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateAzureNodePool(string, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> PollOnceCreateAzureNodePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateAzureNodePool .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The result of polling the operation.

PollOnceCreateAzureNodePoolAsync(string, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceCreateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateAzureNodePool.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAzureClient(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureClient(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAzureClient .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAzureClientAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClientAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAzureClient.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAzureCluster(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAzureCluster .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAzureClusterAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAzureCluster.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteAzureNodePool(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureNodePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteAzureNodePool .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteAzureNodePoolAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureNodePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteAzureNodePool.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateAzureCluster(string, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> PollOnceUpdateAzureCluster(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateAzureCluster .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The result of polling the operation.

PollOnceUpdateAzureClusterAsync(string, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceUpdateAzureClusterAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateAzureCluster.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateAzureNodePool(string, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> PollOnceUpdateAzureNodePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateAzureNodePool .

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The result of polling the operation.

PollOnceUpdateAzureNodePoolAsync(string, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceUpdateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateAzureNodePool.

Parameters
NameDescription
operationNamestring

The name of a previously invoked operation. Must not be null or empty.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
TypeDescription
Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

UpdateAzureCluster(AzureCluster, FieldMask, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> UpdateAzureCluster(AzureCluster azureCluster, FieldMask updateMask, CallSettings callSettings = null)

Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
azureClusterAzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMaskFieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:

  • description.
  • 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.
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureCluster azureCluster = new AzureCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.UpdateAzureCluster(azureCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureCluster(UpdateAzureClusterRequest, CallSettings)

public virtual Operation<AzureCluster, OperationMetadata> UpdateAzureCluster(UpdateAzureClusterRequest request, CallSettings callSettings = null)

Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestUpdateAzureClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureClusterOperationMetadata

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
UpdateAzureClusterRequest request = new UpdateAzureClusterRequest
{
    AzureCluster = new AzureCluster(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.UpdateAzureCluster(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(AzureCluster, FieldMask, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask, CallSettings callSettings = null)

Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
azureClusterAzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMaskFieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:

  • description.
  • 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.
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureCluster azureCluster = new AzureCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(azureCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(AzureCluster, FieldMask, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(AzureCluster azureCluster, FieldMask updateMask, CancellationToken cancellationToken)

Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
azureClusterAzureCluster

Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update.

updateMaskFieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:

  • description.
  • 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.
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureCluster azureCluster = new AzureCluster();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(azureCluster, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(UpdateAzureClusterRequest, CallSettings)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(UpdateAzureClusterRequest request, CallSettings callSettings = null)

Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestUpdateAzureClusterRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureClusterRequest request = new UpdateAzureClusterRequest
{
    AzureCluster = new AzureCluster(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureClusterAsync(UpdateAzureClusterRequest, CancellationToken)

public virtual Task<Operation<AzureCluster, OperationMetadata>> UpdateAzureClusterAsync(UpdateAzureClusterRequest request, CancellationToken cancellationToken)

Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].

Parameters
NameDescription
requestUpdateAzureClusterRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureClusterOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureClusterRequest request = new UpdateAzureClusterRequest
{
    AzureCluster = new AzureCluster(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.UpdateAzureClusterAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureCluster retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePool(AzureNodePool, FieldMask, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> UpdateAzureNodePool(AzureNodePool azureNodePool, FieldMask updateMask, CallSettings callSettings = null)

Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].

Parameters
NameDescription
azureNodePoolAzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMaskFieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureNodePool azureNodePool = new AzureNodePool();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.UpdateAzureNodePool(azureNodePool, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePool(UpdateAzureNodePoolRequest, CallSettings)

public virtual Operation<AzureNodePool, OperationMetadata> UpdateAzureNodePool(UpdateAzureNodePoolRequest request, CallSettings callSettings = null)

Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].

Parameters
NameDescription
requestUpdateAzureNodePoolRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationAzureNodePoolOperationMetadata

The RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest
{
    AzureNodePool = new AzureNodePool(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = azureClustersClient.UpdateAzureNodePool(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureNodePool result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureNodePool, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceUpdateAzureNodePool(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(AzureNodePool, FieldMask, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask, CallSettings callSettings = null)

Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].

Parameters
NameDescription
azureNodePoolAzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMaskFieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePool azureNodePool = new AzureNodePool();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(azureNodePool, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(AzureNodePool, FieldMask, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(AzureNodePool azureNodePool, FieldMask updateMask, CancellationToken cancellationToken)

Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].

Parameters
NameDescription
azureNodePoolAzureNodePool

Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update.

updateMaskFieldMask

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]:

*. annotations.

  • version.
  • autoscaling.min_node_count.
  • autoscaling.max_node_count.
  • config.ssh_config.authorized_key.
  • management.auto_repair.
  • management.
cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureNodePool azureNodePool = new AzureNodePool();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(azureNodePool, updateMask);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest, CallSettings)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest request, CallSettings callSettings = null)

Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].

Parameters
NameDescription
requestUpdateAzureNodePoolRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest
{
    AzureNodePool = new AzureNodePool(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}

UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest, CancellationToken)

public virtual Task<Operation<AzureNodePool, OperationMetadata>> UpdateAzureNodePoolAsync(UpdateAzureNodePoolRequest request, CancellationToken cancellationToken)

Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].

Parameters
NameDescription
requestUpdateAzureNodePoolRequest

The request object containing all of the parameters for the API call.

cancellationTokenCancellationToken

A CancellationToken to use for this RPC.

Returns
TypeDescription
TaskOperationAzureNodePoolOperationMetadata

A Task containing the RPC response.

Example
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
UpdateAzureNodePoolRequest request = new UpdateAzureNodePoolRequest
{
    AzureNodePool = new AzureNodePool(),
    ValidateOnly = false,
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<AzureNodePool, OperationMetadata> response = await azureClustersClient.UpdateAzureNodePoolAsync(request);

// Poll until the returned long-running operation is complete
Operation<AzureNodePool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureNodePool result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureNodePool, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceUpdateAzureNodePoolAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    AzureNodePool retrievedResult = retrievedResponse.Result;
}