ClusterPrincipalAssignmentsOperationsExtensions.CheckNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET