Share via


MockableSynapseSubscriptionResource.CheckKustoPoolNameAvailabilityAsync Method

Definition

Checks that the kusto pool name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/kustoPoolCheckNameAvailability
  • Operation Id: KustoPools_CheckNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>> CheckKustoPoolNameAvailabilityAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoPoolNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>>
override this.CheckKustoPoolNameAvailabilityAsync : Azure.Core.AzureLocation * Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>>
Public Overridable Function CheckKustoPoolNameAvailabilityAsync (location As AzureLocation, content As KustoPoolNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoPoolNameAvailabilityResult))

Parameters

location
AzureLocation

The name of Azure region.

content
KustoPoolNameAvailabilityContent

The name of the cluster.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to