Share via


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
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

principalAssignmentName
ClusterPrincipalAssignmentCheckNameRequest

The name of the principal assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to