Udostępnij za pośrednictwem


DatabasesOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Kusto.IDatabasesOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.Kusto.Models.CheckNameRequest resourceName, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Kusto.IDatabasesOperations * string * string * Microsoft.Azure.Management.Kusto.Models.CheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IDatabasesOperations, resourceGroupName As String, clusterName As String, resourceName As CheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResult)

Parameters

operations
IDatabasesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

resourceName
CheckNameRequest

The name of the resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to