ClusterPrincipalAssignmentsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

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

Parameters

operations
IClusterPrincipalAssignmentsOperations

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.

principalAssignmentName
ClusterPrincipalAssignmentCheckNameRequest

The name of the principal assignment.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<CheckNameResult>

Applies to