public abstract class AzureClustersClient
Reference documentation and code samples for the Anthos Multi-Cloud v1 API 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 |
IReadOnlyListstring |
The default AzureClusters scopes are:
DeleteAzureClientOperationsClient
public virtual OperationsClient DeleteAzureClientOperationsClient { get; }
The long-running operations client for DeleteAzureClient
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAzureClusterOperationsClient
public virtual OperationsClient DeleteAzureClusterOperationsClient { get; }
The long-running operations client for DeleteAzureCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteAzureNodePoolOperationsClient
public virtual OperationsClient DeleteAzureNodePoolOperationsClient { get; }
The long-running operations client for DeleteAzureNodePool
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual AzureClusters.AzureClustersClient GrpcClient { get; }
The underlying gRPC AzureClusters client
Property Value | |
---|---|
Type | Description |
AzureClustersAzureClustersClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
UpdateAzureClusterOperationsClient
public virtual OperationsClient UpdateAzureClusterOperationsClient { get; }
The long-running operations client for UpdateAzureCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateAzureNodePoolOperationsClient
public virtual OperationsClient UpdateAzureNodePoolOperationsClient { get; }
The long-running operations client for UpdateAzureNodePool
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Create()
public static AzureClustersClient Create()
Synchronously creates a AzureClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AzureClustersClientBuilder.
Returns | |
---|---|
Type | Description |
AzureClustersClient | The created AzureClustersClient. |
CreateAsync(CancellationToken)
public static Task<AzureClustersClient> CreateAsync(CancellationToken cancellationToken = default)
Asynchronously creates a AzureClustersClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use AzureClustersClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
TaskAzureClustersClient | The task representing the created AzureClustersClient. |
CreateAzureClient(LocationName, AzureClient, string, CallSettings)
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 |
OperationAzureClientOperationMetadata | 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 |
OperationAzureClientOperationMetadata | 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 |
OperationAzureClientOperationMetadata | 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 |
TaskOperationAzureClientOperationMetadata | 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 |
TaskOperationAzureClientOperationMetadata | 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 |
TaskOperationAzureClientOperationMetadata | 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 |
TaskOperationAzureClientOperationMetadata | 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 |
TaskOperationAzureClientOperationMetadata | 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 |
TaskOperationAzureClientOperationMetadata | 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 Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as 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 |
OperationAzureClusterOperationMetadata | 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 Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationAzureClusterOperationMetadata | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AzureCluster = new AzureCluster(),
AzureClusterId = "",
ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = azureClustersClient.CreateAzureCluster(request);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = azureClustersClient.PollOnceCreateAzureCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureCluster(string, AzureCluster, string, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> CreateAzureCluster(string parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
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 |
OperationAzureClusterOperationMetadata | 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 Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as 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 |
TaskOperationAzureClusterOperationMetadata | 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 Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as 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 |
TaskOperationAzureClusterOperationMetadata | 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 Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationAzureClusterOperationMetadata | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AzureCluster = new AzureCluster(),
AzureClusterId = "",
ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(CreateAzureClusterRequest, CancellationToken)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(CreateAzureClusterRequest request, CancellationToken cancellationToken)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationAzureClusterOperationMetadata | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
CreateAzureClusterRequest request = new CreateAzureClusterRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
AzureCluster = new AzureCluster(),
AzureClusterId = "",
ValidateOnly = false,
};
// Make the request
Operation<AzureCluster, OperationMetadata> response = await azureClustersClient.CreateAzureClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<AzureCluster, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AzureCluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AzureCluster, OperationMetadata> retrievedResponse = await azureClustersClient.PollOnceCreateAzureClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AzureCluster retrievedResult = retrievedResponse.Result;
}
CreateAzureClusterAsync(string, AzureCluster, string, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> CreateAzureClusterAsync(string parent, AzureCluster azureCluster, string azureClusterId, CallSettings callSettings = null)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
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 |
TaskOperationAzureClusterOperationMetadata | 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 Google Cloud Platform project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
parent | string Required. The parent location where this [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource will be created. Location names are formatted as 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 |
TaskOperationAzureClusterOperationMetadata | 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.
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 |
OperationAzureNodePoolOperationMetadata | 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 |
OperationAzureNodePoolOperationMetadata | 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.
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 |
OperationAzureNodePoolOperationMetadata | 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.
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 |
TaskOperationAzureNodePoolOperationMetadata | 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.
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 |
TaskOperationAzureNodePoolOperationMetadata | 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 |
TaskOperationAzureNodePoolOperationMetadata | 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 |
TaskOperationAzureNodePoolOperationMetadata | 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.
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 |
TaskOperationAzureNodePoolOperationMetadata | 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.
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 |
TaskOperationAzureNodePoolOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 Google Cloud Platform resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 Google Cloud Platform resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | 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 Google Cloud Platform resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// 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 Google Cloud Platform resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 Google Cloud Platform resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
// 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 Google Cloud Platform resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskGenerateAzureAccessTokenResponse | 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 |
TaskGenerateAzureAccessTokenResponse | 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);
GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest, CallSettings)
public virtual GenerateAzureClusterAgentTokenResponse GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest request, CallSettings callSettings = null)
Generates an access token for a cluster agent.
Parameters | |
---|---|
Name | Description |
request | GenerateAzureClusterAgentTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
GenerateAzureClusterAgentTokenResponse | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
SubjectToken = "",
SubjectTokenType = "",
Version = "",
NodePoolId = "",
GrantType = "",
Audience = "",
Scope = "",
RequestedTokenType = "",
Options = "",
};
// Make the request
GenerateAzureClusterAgentTokenResponse response = azureClustersClient.GenerateAzureClusterAgentToken(request);
GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest, CallSettings)
public virtual Task<GenerateAzureClusterAgentTokenResponse> GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest request, CallSettings callSettings = null)
Generates an access token for a cluster agent.
Parameters | |
---|---|
Name | Description |
request | GenerateAzureClusterAgentTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskGenerateAzureClusterAgentTokenResponse | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
SubjectToken = "",
SubjectTokenType = "",
Version = "",
NodePoolId = "",
GrantType = "",
Audience = "",
Scope = "",
RequestedTokenType = "",
Options = "",
};
// Make the request
GenerateAzureClusterAgentTokenResponse response = await azureClustersClient.GenerateAzureClusterAgentTokenAsync(request);
GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest, CancellationToken)
public virtual Task<GenerateAzureClusterAgentTokenResponse> GenerateAzureClusterAgentTokenAsync(GenerateAzureClusterAgentTokenRequest request, CancellationToken cancellationToken)
Generates an access token for a cluster agent.
Parameters | |
---|---|
Name | Description |
request | GenerateAzureClusterAgentTokenRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskGenerateAzureClusterAgentTokenResponse | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GenerateAzureClusterAgentTokenRequest request = new GenerateAzureClusterAgentTokenRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
SubjectToken = "",
SubjectTokenType = "",
Version = "",
NodePoolId = "",
GrantType = "",
Audience = "",
Scope = "",
RequestedTokenType = "",
Options = "",
};
// Make the request
GenerateAzureClusterAgentTokenResponse response = await azureClustersClient.GenerateAzureClusterAgentTokenAsync(request);
GetAzureClient(AzureClientName, CallSettings)
public virtual AzureClient GetAzureClient(AzureClientName name, CallSettings callSettings = null)
Describes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
Parameters | |
---|---|
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 |
TaskAzureClient | 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 |
TaskAzureClient | 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 |
TaskAzureClient | 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 |
TaskAzureClient | 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 |
TaskAzureClient | 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 |
TaskAzureClient | 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 Google Cloud Platform 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 Google Cloud Platform 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 Google Cloud Platform resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureCluster | A Task containing the RPC response. |
// 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 Google Cloud Platform resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureCluster | 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 |
TaskAzureCluster | 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 |
TaskAzureCluster | 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 Google Cloud Platform resource names. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureCluster | A Task containing the RPC response. |
// 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 Google Cloud Platform resource names. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureCluster | 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);
GetAzureJsonWebKeys(AzureClusterName, CallSettings)
public virtual AzureJsonWebKeys GetAzureJsonWebKeys(AzureClusterName azureCluster, CallSettings callSettings = null)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
azureCluster | AzureClusterName Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureJsonWebKeys | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(azureCluster);
GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest, CallSettings)
public virtual AzureJsonWebKeys GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest request, CallSettings callSettings = null)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
request | GetAzureJsonWebKeysRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureJsonWebKeys | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GetAzureJsonWebKeysRequest request = new GetAzureJsonWebKeysRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(request);
GetAzureJsonWebKeys(string, CallSettings)
public virtual AzureJsonWebKeys GetAzureJsonWebKeys(string azureCluster, CallSettings callSettings = null)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
azureCluster | string Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureJsonWebKeys | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureJsonWebKeys response = azureClustersClient.GetAzureJsonWebKeys(azureCluster);
GetAzureJsonWebKeysAsync(AzureClusterName, CallSettings)
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(AzureClusterName azureCluster, CallSettings callSettings = null)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
azureCluster | AzureClusterName Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureJsonWebKeys | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
GetAzureJsonWebKeysAsync(AzureClusterName, CancellationToken)
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(AzureClusterName azureCluster, CancellationToken cancellationToken)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
azureCluster | AzureClusterName Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureJsonWebKeys | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest, CallSettings)
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest request, CallSettings callSettings = null)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
request | GetAzureJsonWebKeysRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureJsonWebKeys | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureJsonWebKeysRequest request = new GetAzureJsonWebKeysRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(request);
GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest, CancellationToken)
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(GetAzureJsonWebKeysRequest request, CancellationToken cancellationToken)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
request | GetAzureJsonWebKeysRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureJsonWebKeys | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureJsonWebKeysRequest request = new GetAzureJsonWebKeysRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(request);
GetAzureJsonWebKeysAsync(string, CallSettings)
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(string azureCluster, CallSettings callSettings = null)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
azureCluster | string Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureJsonWebKeys | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
GetAzureJsonWebKeysAsync(string, CancellationToken)
public virtual Task<AzureJsonWebKeys> GetAzureJsonWebKeysAsync(string azureCluster, CancellationToken cancellationToken)
Gets the public component of the cluster signing keys in JSON Web Key format.
Parameters | |
---|---|
Name | Description |
azureCluster | string Required. The AzureCluster, which owns the JsonWebKeys. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureJsonWebKeys | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureJsonWebKeys response = await azureClustersClient.GetAzureJsonWebKeysAsync(azureCluster);
GetAzureNodePool(AzureNodePoolName, CallSettings)
public virtual AzureNodePool GetAzureNodePool(AzureNodePoolName name, CallSettings callSettings = null)
Describes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
Parameters | |
---|---|
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 |
TaskAzureNodePool | 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 |
TaskAzureNodePool | 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 |
TaskAzureNodePool | 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 |
TaskAzureNodePool | 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 |
TaskAzureNodePool | 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 |
TaskAzureNodePool | 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);
GetAzureOpenIdConfig(AzureClusterName, CallSettings)
public virtual AzureOpenIdConfig GetAzureOpenIdConfig(AzureClusterName azureCluster, CallSettings callSettings = null)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
azureCluster | AzureClusterName Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureOpenIdConfig | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(azureCluster);
GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest, CallSettings)
public virtual AzureOpenIdConfig GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest request, CallSettings callSettings = null)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
request | GetAzureOpenIdConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureOpenIdConfig | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
GetAzureOpenIdConfigRequest request = new GetAzureOpenIdConfigRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(request);
GetAzureOpenIdConfig(string, CallSettings)
public virtual AzureOpenIdConfig GetAzureOpenIdConfig(string azureCluster, CallSettings callSettings = null)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
azureCluster | string Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AzureOpenIdConfig | The RPC response. |
// Create client
AzureClustersClient azureClustersClient = AzureClustersClient.Create();
// Initialize request argument(s)
string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureOpenIdConfig response = azureClustersClient.GetAzureOpenIdConfig(azureCluster);
GetAzureOpenIdConfigAsync(AzureClusterName, CallSettings)
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(AzureClusterName azureCluster, CallSettings callSettings = null)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
azureCluster | AzureClusterName Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureOpenIdConfig | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
GetAzureOpenIdConfigAsync(AzureClusterName, CancellationToken)
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(AzureClusterName azureCluster, CancellationToken cancellationToken)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
azureCluster | AzureClusterName Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureOpenIdConfig | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
AzureClusterName azureCluster = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]");
// Make the request
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest, CallSettings)
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest request, CallSettings callSettings = null)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
request | GetAzureOpenIdConfigRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureOpenIdConfig | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureOpenIdConfigRequest request = new GetAzureOpenIdConfigRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(request);
GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest, CancellationToken)
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(GetAzureOpenIdConfigRequest request, CancellationToken cancellationToken)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
request | GetAzureOpenIdConfigRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureOpenIdConfig | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
GetAzureOpenIdConfigRequest request = new GetAzureOpenIdConfigRequest
{
AzureClusterAsAzureClusterName = AzureClusterName.FromProjectLocationAzureCluster("[PROJECT]", "[LOCATION]", "[AZURE_CLUSTER]"),
};
// Make the request
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(request);
GetAzureOpenIdConfigAsync(string, CallSettings)
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(string azureCluster, CallSettings callSettings = null)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
azureCluster | string Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskAzureOpenIdConfig | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
GetAzureOpenIdConfigAsync(string, CancellationToken)
public virtual Task<AzureOpenIdConfig> GetAzureOpenIdConfigAsync(string azureCluster, CancellationToken cancellationToken)
Gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
Parameters | |
---|---|
Name | Description |
azureCluster | string Required. The AzureCluster, which owns the OIDC discovery document. Format: projects/<project-id>/locations/<region>/azureClusters/<cluster-id> |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
TaskAzureOpenIdConfig | A Task containing the RPC response. |
// Create client
AzureClustersClient azureClustersClient = await AzureClustersClient.CreateAsync();
// Initialize request argument(s)
string azureCluster = "projects/[PROJECT]/locations/[LOCATION]/azureClusters/[AZURE_CLUSTER]";
// Make the request
AzureOpenIdConfig response = await azureClustersClient.GetAzureOpenIdConfigAsync(azureCluster);
GetAzureServerConfig(AzureServerConfigName, CallSettings)
public virtual AzureServerConfig GetAzureServerConfig(AzureServerConfigName name, CallSettings callSettings = null)
Returns information, such as supported Azure regions and Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
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 |
TaskAzureServerConfig | 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 |
TaskAzureServerConfig | 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 |
TaskAzureServerConfig | 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 |
TaskAzureServerConfig | 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 |
TaskAzureServerConfig | 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 |
TaskAzureServerConfig | 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, int?, CallSettings)
public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedEnumerableListAzureClientsResponseAzureClient | 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 |
PagedEnumerableListAzureClientsResponseAzureClient | 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, int?, CallSettings)
public virtual PagedEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClients(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedEnumerableListAzureClientsResponseAzureClient | 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, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedAsyncEnumerableListAzureClientsResponseAzureClient | 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 |
PagedAsyncEnumerableListAzureClientsResponseAzureClient | 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, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClientsResponse, AzureClient> ListAzureClientsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedAsyncEnumerableListAzureClientsResponseAzureClient | 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, int?, CallSettings)
public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedEnumerableListAzureClustersResponseAzureCluster | 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 |
PagedEnumerableListAzureClustersResponseAzureCluster | 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, int?, CallSettings)
public virtual PagedEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClusters(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedEnumerableListAzureClustersResponseAzureCluster | 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, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedAsyncEnumerableListAzureClustersResponseAzureCluster | 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 |
PagedAsyncEnumerableListAzureClustersResponseAzureCluster | 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, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureClustersResponse, AzureCluster> ListAzureClustersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
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 Google Cloud Platform resource names. |
pageToken | string The token returned from the previous request. A value of |
pageSize | int 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 |
PagedAsyncEnumerableListAzureClustersResponseAzureCluster | 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, int?, CallSettings)
public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
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 | int 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 |
PagedEnumerableListAzureNodePoolsResponseAzureNodePool | 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 |
PagedEnumerableListAzureNodePoolsResponseAzureNodePool | 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, int?, CallSettings)
public virtual PagedEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePools(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
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 | int 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 |
PagedEnumerableListAzureNodePoolsResponseAzureNodePool | 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, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(AzureClusterName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
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 | int 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 |
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool | 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 |
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool | 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, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListAzureNodePoolsResponse, AzureNodePool> ListAzureNodePoolsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
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 | int 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 |
PagedAsyncEnumerableListAzureNodePoolsResponseAzureNodePool | 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 |
OperationAzureClientOperationMetadata | The result of polling the operation. |
PollOnceCreateAzureClientAsync(string, CallSettings)
public virtual Task<Operation<AzureClient, OperationMetadata>> PollOnceCreateAzureClientAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateAzureClient
.
Parameters | |
---|---|
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 |
TaskOperationAzureClientOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateAzureCluster(string, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> PollOnceCreateAzureCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateAzureCluster
.
Parameters | |
---|---|
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 |
OperationAzureClusterOperationMetadata | The result of polling the operation. |
PollOnceCreateAzureClusterAsync(string, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceCreateAzureClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateAzureCluster
.
Parameters | |
---|---|
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 |
TaskOperationAzureClusterOperationMetadata | A task representing the result of polling the operation. |
PollOnceCreateAzureNodePool(string, CallSettings)
public virtual Operation<AzureNodePool, OperationMetadata> PollOnceCreateAzureNodePool(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of CreateAzureNodePool
.
Parameters | |
---|---|
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 |
OperationAzureNodePoolOperationMetadata | The result of polling the operation. |
PollOnceCreateAzureNodePoolAsync(string, CallSettings)
public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceCreateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
CreateAzureNodePool
.
Parameters | |
---|---|
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 |
TaskOperationAzureNodePoolOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteAzureClient(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureClient(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteAzureClient
.
Parameters | |
---|---|
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 |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteAzureClientAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClientAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteAzureClient
.
Parameters | |
---|---|
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 |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteAzureCluster(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteAzureCluster
.
Parameters | |
---|---|
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 |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteAzureClusterAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteAzureCluster
.
Parameters | |
---|---|
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 |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceDeleteAzureNodePool(string, CallSettings)
public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAzureNodePool(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of DeleteAzureNodePool
.
Parameters | |
---|---|
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 |
OperationEmptyOperationMetadata | The result of polling the operation. |
PollOnceDeleteAzureNodePoolAsync(string, CallSettings)
public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAzureNodePoolAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
DeleteAzureNodePool
.
Parameters | |
---|---|
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 |
TaskOperationEmptyOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateAzureCluster(string, CallSettings)
public virtual Operation<AzureCluster, OperationMetadata> PollOnceUpdateAzureCluster(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateAzureCluster
.
Parameters | |
---|---|
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 |
OperationAzureClusterOperationMetadata | The result of polling the operation. |
PollOnceUpdateAzureClusterAsync(string, CallSettings)
public virtual Task<Operation<AzureCluster, OperationMetadata>> PollOnceUpdateAzureClusterAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateAzureCluster
.
Parameters | |
---|---|
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 |
TaskOperationAzureClusterOperationMetadata | A task representing the result of polling the operation. |
PollOnceUpdateAzureNodePool(string, CallSettings)
public virtual Operation<AzureNodePool, OperationMetadata> PollOnceUpdateAzureNodePool(string operationName, CallSettings callSettings = null)
Poll an operation once, using an operationName
from a previous invocation of UpdateAzureNodePool
.
Parameters | |
---|---|
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 |
OperationAzureNodePoolOperationMetadata | The result of polling the operation. |
PollOnceUpdateAzureNodePoolAsync(string, CallSettings)
public virtual Task<Operation<AzureNodePool, OperationMetadata>> PollOnceUpdateAzureNodePoolAsync(string operationName, CallSettings callSettings = null)
Asynchronously poll an operation once, using an operationName
from a previous invocation of
UpdateAzureNodePool
.
Parameters | |
---|---|
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 |
TaskOperationAzureNodePoolOperationMetadata | A task representing the result of polling the operation. |
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Returns | |
---|---|
Type | Description |
Task | A task representing the asynchronous shutdown operation. |
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 |
OperationAzureClusterOperationMetadata | 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 |
OperationAzureClusterOperationMetadata | 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 |
TaskOperationAzureClusterOperationMetadata | 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 |
TaskOperationAzureClusterOperationMetadata | 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 |
TaskOperationAzureClusterOperationMetadata | 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 |
TaskOperationAzureClusterOperationMetadata | 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 |
OperationAzureNodePoolOperationMetadata | 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 |
OperationAzureNodePoolOperationMetadata | 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 |
TaskOperationAzureNodePoolOperationMetadata | 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 |
TaskOperationAzureNodePoolOperationMetadata | 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 |
TaskOperationAzureNodePoolOperationMetadata | 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 |
TaskOperationAzureNodePoolOperationMetadata | 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;
}