DatabasePrincipalAssignmentsOperationsExtensions.CheckNameAvailabilityAsync(IDatabasePrincipalAssignmentsOperations, String, String, String, DatabasePrincipalAssignmentCheckNameRequest, CancellationToken) Method

Definition

Checks that the database principal assignment 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.IDatabasePrincipalAssignmentsOperations operations, string resourceGroupName, string clusterName, string databaseName, Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Kusto.IDatabasePrincipalAssignmentsOperations * string * string * string * Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalAssignmentCheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IDatabasePrincipalAssignmentsOperations, resourceGroupName As String, clusterName As String, databaseName As String, principalAssignmentName As DatabasePrincipalAssignmentCheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResult)

Parameters

operations
IDatabasePrincipalAssignmentsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group containing the Kusto cluster.

clusterName
System.String

The name of the Kusto cluster.

databaseName
System.String

The name of the database in the Kusto cluster.

principalAssignmentName
DatabasePrincipalAssignmentCheckNameRequest

The name of the resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<CheckNameResult>

Applies to