public abstract class AzureClustersClient
AzureClusters client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.GkeMultiCloud.V1Assembly
Google.Cloud.GkeMultiCloud.V1.dll
Remarks
The AzureClusters API provides a single centrally managed service to create and manage Anthos clusters that run on Azure infrastructure.
Properties
CreateAzureClientOperationsClient
public virtual OperationsClient CreateAzureClientOperationsClient { get; }
The long-running operations client for CreateAzureClient
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateAzureClusterOperationsClient
public virtual OperationsClient CreateAzureClusterOperationsClient { get; }
The long-running operations client for CreateAzureCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateAzureNodePoolOperationsClient
public virtual OperationsClient CreateAzureNodePoolOperationsClient { get; }
The long-running operations client for CreateAzureNodePool
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the AzureClusters service, which is a host of "gkemulticloud.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default AzureClusters scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyList<String> |
The default AzureClusters scopes are:
DeleteAzureClientOperationsClient
public virtual OperationsClient DeleteAzureClientOperationsClient { get; }
The long-running operations client for DeleteAzureClient
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAzureClusterOperationsClient
public virtual OperationsClient DeleteAzureClusterOperationsClient { get; }
The long-running operations client for DeleteAzureCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAzureNodePoolOperationsClient
public virtual OperationsClient DeleteAzureNodePoolOperationsClient { get; }
The long-running operations client for DeleteAzureNodePool
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual AzureClusters.AzureClustersClient GrpcClient { get; }
The underlying gRPC AzureClusters client
Property Value | |
---|---|
Type | Description |
AzureClusters.AzureClustersClient |
UpdateAzureClusterOperationsClient
public virtual OperationsClient UpdateAzureClusterOperationsClient { get; }
The long-running operations client for UpdateAzureCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateAzureNodePoolOperationsClient
public virtual OperationsClient UpdateAzureNodePoolOperationsClient { get; }
The long-running operations client for UpdateAzureNodePool
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Create()
public static AzureClustersClient Create()
Synchronously creates a AzureClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AzureClustersClientBuilder.
Returns | |
---|---|
Type | Description |
AzureClustersClient | The created AzureClustersClient. |
CreateAsync(CancellationToken)
public static Task<AzureClustersClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a AzureClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AzureClustersClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
Task<AzureClustersClient> | The task representing the created AzureClustersClient. |
CreateAzureClient(LocationName, AzureClient, String, CallSettings)
public virtual Operation<AzureClient, OperationMetadata> CreateAzureClient(LocationName parent, AzureClient azureClient, string azureClientId, CallSettings callSettings = null)
Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.
AzureClient
resources hold client authentication
information needed by the Anthos Multicloud API to manage Azure resources
on your Azure subscription on your behalf.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureClient | AzureClient Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create. |
azureClientId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureClient, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | CreateAzureClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureClient, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
parent | String Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureClient | AzureClient Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create. |
azureClientId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureClient, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureClient | AzureClient Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create. |
azureClientId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureClient | AzureClient Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create. |
azureClientId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
resource name formatted as
Valid characters are |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | CreateAzureClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | CreateAzureClientRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | String Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureClient | AzureClient Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create. |
azureClientId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | String Required. The parent location where this [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureClient | AzureClient Required. The specification of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to create. |
azureClientId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient]
resource name formatted as
Valid characters are |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureClient azureClient = new AzureClient();
string azureClientId = "";
// Make the request
Operation<AzureClient, OperationMetadata> response = await azureClustersClient.CreateAzureClientAsync(parent, azureClient, azureClientId);
// Poll until the returned long-running operation is complete
Operation<AzureClient, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureClient result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureClient, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClientAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureClient retrievedResult = retrievedResponse.Result;
}
CreateAzureCluster(LocationName, AzureCluster, String, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(LocationName parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureCluster | AzureCluster Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create. |
azureClusterId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(parent, azureCluster, azureClusterId);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureCluster(CreateAzureClusterRequest, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(CreateAzureClusterRequest request, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AzureCluster = new AzureCluster(),
AzureClusterId = "",
ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(request);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureCluster(String, AzureCluster, String, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(string parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureCluster | AzureCluster Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create. |
azureClusterId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(parent, azureCluster, azureClusterId);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(LocationName, AzureCluster, String, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(LocationName parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureCluster | AzureCluster Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create. |
azureClusterId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(LocationName, AzureCluster, String, CancellationToken)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(LocationName parent, AzureCluster azureCluster, string azureClusterId, CancellationToken cancellationToken)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureCluster | AzureCluster Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create. |
azureClusterId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resource name formatted as
Valid characters are |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(CreateAzureClusterRequest, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(CreateAzureClusterRequest request, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AzureCluster = new AzureCluster(),
AzureClusterId = "",
ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(CreateAzureClusterRequest, CancellationToken)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(CreateAzureClusterRequest request, CancellationToken cancellationToken)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AzureCluster = new AzureCluster(),
AzureClusterId = "",
ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(String, AzureCluster, String, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(string parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureCluster | AzureCluster Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create. |
azureClusterId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
AzureCluster azureCluster = new AzureCluster();
string azureClusterId = "";
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(parent, azureCluster, azureClusterId);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(String, AzureCluster, String, CancellationToken)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(string parent, AzureCluster azureCluster, string azureClusterId, CancellationToken cancellationToken)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureCluster | AzureCluster Required. The specification of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to create. |
azureClusterId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]
resource name formatted as
Valid characters are |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | AzureClusterName Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureNodePool | AzureNodePool Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create. |
azureNodePoolId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | CreateAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
parent | String Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureNodePool | AzureNodePool Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create. |
azureNodePoolId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
parent | AzureClusterName Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureNodePool | AzureNodePool Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create. |
azureNodePoolId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | AzureClusterName Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureNodePool | AzureNodePool Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create. |
azureNodePoolId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
resource name formatted as
Valid characters are |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | CreateAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | CreateAzureNodePoolRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | String Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureNodePool | AzureNodePool Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create. |
azureNodePoolId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
resource name formatted as
Valid characters are |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
parent | String Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource where this node pool will be created. Location names are formatted as See Resource Names for more details on Google Cloud resource names. |
azureNodePool | AzureNodePool Required. The specification of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to create. |
azureNodePoolId | String Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]
resource name formatted as
Valid characters are |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClientName Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClientName Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClientName Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureClientRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] to delete. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClusterName Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClusterName Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClusterName Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
See Resource Names for more details on GCP resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete.
See Resource Names for more details on GCP resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureNodePoolName Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureNodePoolName Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureNodePoolName Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | DeleteAzureNodePoolRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The resource name the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GenerateAzureAccessTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
GenerateAzureAccessTokenResponse | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | GenerateAzureAccessTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<GenerateAzureAccessTokenResponse> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GenerateAzureAccessTokenRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<GenerateAzureAccessTokenResponse> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureAccessTokenRequest request = new GenerateAzureAccessTokenRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
GenerateAzureAccessTokenResponse response = await azureClustersClient.GenerateAzureAccessTokenAsync(request);
GetAzureClient(AzureClientName, CallSettings)
public virtual AzureClient GetAzureClient(AzureClientName name, CallSettings callSettings = null)
Describes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
Parameters | |
---|---|
Name | Description |
name | AzureClientName Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureClient | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureClient | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureClient | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClientName Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClientName Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureClientRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureClientRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource to describe. [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] names are formatted as
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClusterName Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureCluster | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureCluster | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureCluster | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClusterName Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureClusterName Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
See Resource Names for more details on GCP resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
See Resource Names for more details on GCP resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to describe.
See Resource Names for more details on GCP resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureCluster response = await azureClustersClient.GetAzureClusterAsync(name);
GetAzureNodePool(AzureNodePoolName, CallSettings)
public virtual AzureNodePool GetAzureNodePool(AzureNodePoolName name, CallSettings callSettings = null)
Describes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
Parameters | |
---|---|
Name | Description |
name | AzureNodePoolName Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureNodePool | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureNodePool | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureNodePool | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureNodePoolName Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureNodePoolName Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureNodePoolRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]/azureNodePools/[AZURE_NODE_POOL]";
// Make the request
AzureNodePool response = await azureClustersClient.GetAzureNodePoolAsync(name);
GetAzureServerConfig(AzureServerConfigName, CallSettings)
public virtual AzureServerConfig GetAzureServerConfig(AzureServerConfigName name, CallSettings callSettings = null)
Returns information, such as supported Azure regions and Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
Name | Description |
name | AzureServerConfigName Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureServerConfig | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureServerConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureServerConfig | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureServerConfig | The RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureServerConfigName Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | AzureServerConfigName Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureServerConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | GetAzureServerConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
name | String Required. The name of the [AzureServerConfig][google.cloud.gkemulticloud.v1.AzureServerConfig] resource to describe.
See Resource Names for more details on Google Cloud resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/azureServerConfig";
// Make the request
AzureServerConfig response = await azureClustersClient.GetAzureServerConfigAsync(name);
ListAzureClients(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureClientsResponse, AzureClient> | A pageable sequence of AzureClient resources. |
// 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 | |
---|---|
Name | Description |
request | ListAzureClientsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureClientsResponse, AzureClient> | A pageable sequence of AzureClient resources. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureClientsRequest request = new ListAzureClientsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AzureClient item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClientsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureClient item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureClient> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClients(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureClientsResponse, AzureClient> | A pageable sequence of AzureClient resources. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClients(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AzureClient item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClientsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureClient item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureClient> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClientsAsync(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> | A pageable asynchronous sequence of AzureClient resources. |
// 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 | |
---|---|
Name | Description |
request | ListAzureClientsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> | A pageable asynchronous sequence of AzureClient resources. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureClientsRequest request = new ListAzureClientsRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureClient item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureClient item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClientsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location which owns this collection of [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> | A pageable asynchronous sequence of AzureClient resources. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> response = azureClustersClient.ListAzureClientsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureClient item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClientsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureClient item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureClient> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureClient item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClusters(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureClustersResponse, AzureCluster> | A pageable sequence of AzureCluster resources. |
// 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 | |
---|---|
Name | Description |
request | ListAzureClustersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureClustersResponse, AzureCluster> | A pageable sequence of AzureCluster resources. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureClustersRequest request = new ListAzureClustersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClusters(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureClustersResponse, AzureCluster> | A pageable sequence of AzureCluster resources. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClusters(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AzureCluster item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureClustersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClustersAsync(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> | A pageable asynchronous sequence of AzureCluster resources. |
// 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 | |
---|---|
Name | Description |
request | ListAzureClustersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> | A pageable asynchronous sequence of AzureCluster resources. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureClustersRequest request = new ListAzureClustersRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureClustersAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent location which owns this collection of [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources. Location names are formatted as See Resource Names for more details on GCP resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> | A pageable asynchronous sequence of AzureCluster resources. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> response = azureClustersClient.ListAzureClustersAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureCluster item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureClustersResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureCluster item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureCluster> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureCluster item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureNodePools(AzureClusterName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
Name | Description |
parent | AzureClusterName Required. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> | A pageable sequence of AzureNodePool resources. |
// 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 | |
---|---|
Name | Description |
request | ListAzureNodePoolsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> | A pageable sequence of AzureNodePool resources. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest
{
ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureNodePool item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureNodePools(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> | A pageable sequence of AzureNodePool resources. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePools(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AzureNodePool item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAzureNodePoolsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureNodePool item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureNodePoolsAsync(AzureClusterName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
Name | Description |
parent | AzureClusterName Required. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> | A pageable asynchronous sequence of AzureNodePool resources. |
// 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 | |
---|---|
Name | Description |
request | ListAzureNodePoolsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> | A pageable asynchronous sequence of AzureNodePool resources. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
ListAzureNodePoolsRequest request = new ListAzureNodePoolsRequest
{
ParentAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> response = azureClustersClient.ListAzureNodePoolsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AzureNodePool item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAzureNodePoolsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AzureNodePool item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AzureNodePool> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AzureNodePool item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAzureNodePoolsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
Name | Description |
parent | String Required. The parent
See Resource Names for more details on Google Cloud resource names. |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> | A pageable asynchronous sequence of AzureNodePool resources. |
// 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 | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureClient, OperationMetadata> | The result of polling the operation. |
PollOnceCreateAzureClientAsync(String, CallSettings)
public virtual Task<Operation<AzureClient, OperationMetadata>> PollOnceCreateAzureClientAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateAzureClient
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureClient, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceCreateAzureCluster(String, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> PollOnceCreateAzureCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateAzureCluster
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The result of polling the operation. |
PollOnceCreateAzureClusterAsync(String, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceCreateAzureClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateAzureCluster
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceCreateAzureNodePool(String, CallSettings)
public virtual Operation<AzureNodePool, OperationMetadata> PollOnceCreateAzureNodePool(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateAzureNodePool
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The result of polling the operation. |
PollOnceCreateAzureNodePoolAsync(String, CallSettings)
public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceCreateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateAzureNodePool
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceDeleteAzureClient(String, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureClient(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteAzureClient
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The result of polling the operation. |
PollOnceDeleteAzureClientAsync(String, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClientAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteAzureClient
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceDeleteAzureCluster(String, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteAzureCluster
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The result of polling the operation. |
PollOnceDeleteAzureClusterAsync(String, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteAzureCluster
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceDeleteAzureNodePool(String, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureNodePool(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteAzureNodePool
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The result of polling the operation. |
PollOnceDeleteAzureNodePoolAsync(String, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureNodePoolAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteAzureNodePool
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceUpdateAzureCluster(String, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> PollOnceUpdateAzureCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateAzureCluster
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The result of polling the operation. |
PollOnceUpdateAzureClusterAsync(String, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceUpdateAzureClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateAzureCluster
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A task representing the result of polling the operation. |
PollOnceUpdateAzureNodePool(String, CallSettings)
public virtual Operation<AzureNodePool, OperationMetadata> PollOnceUpdateAzureNodePool(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateAzureNodePool
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The result of polling the operation. |
PollOnceUpdateAzureNodePoolAsync(String, CallSettings)
public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceUpdateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateAzureNodePool
.
Parameters | |
---|---|
Name | Description |
operationName | String The name of a previously invoked operation. Must not be |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A task representing the result of polling the operation. |
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Returns | |
---|---|
Type | Description |
Task | A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
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 | |
---|---|
Name | Description |
azureCluster | AzureCluster Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update. |
updateMask | FieldMask Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | UpdateAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureCluster, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
azureCluster | AzureCluster Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update. |
updateMask | FieldMask Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
azureCluster | AzureCluster Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource to update. |
updateMask | FieldMask Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster]:
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | UpdateAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | UpdateAzureClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureCluster, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
azureNodePool | AzureNodePool Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update. |
updateMask | FieldMask Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]: *.
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
request | UpdateAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AzureNodePool, OperationMetadata> | The RPC response. |
// 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 | |
---|---|
Name | Description |
azureNodePool | AzureNodePool Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update. |
updateMask | FieldMask Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]: *.
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
azureNodePool | AzureNodePool Required. The [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource to update. |
updateMask | FieldMask Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field can only include these fields from [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool]: *.
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | UpdateAzureNodePoolRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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 | |
---|---|
Name | Description |
request | UpdateAzureNodePoolRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AzureNodePool, OperationMetadata>> | A Task containing the RPC response. |
// 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;
}