Share via


KustoClusterResource.CheckKustoDatabaseNameAvailabilityAsync Method

Definition

Checks that the databases resource name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkNameAvailability
  • Operation Id: Databases_CheckNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>> CheckKustoDatabaseNameAvailabilityAsync (Azure.ResourceManager.Kusto.Models.KustoDatabaseNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoDatabaseNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoDatabaseNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
override this.CheckKustoDatabaseNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoDatabaseNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
Public Overridable Function CheckKustoDatabaseNameAvailabilityAsync (content As KustoDatabaseNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoNameAvailabilityResult))

Parameters

content
KustoDatabaseNameAvailabilityContent

The name of the resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to