KustoClusterResource.CheckKustoClusterPrincipalAssignmentNameAvailabilityAsync Method

Definition

Checks that the principal assignment name is valid and is not already in use.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkPrincipalAssignmentNameAvailability
  • Operation Id: ClusterPrincipalAssignments_CheckNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>> CheckKustoClusterPrincipalAssignmentNameAvailabilityAsync (Azure.ResourceManager.Kusto.Models.KustoClusterPrincipalAssignmentNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoClusterPrincipalAssignmentNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoClusterPrincipalAssignmentNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
override this.CheckKustoClusterPrincipalAssignmentNameAvailabilityAsync : Azure.ResourceManager.Kusto.Models.KustoClusterPrincipalAssignmentNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Kusto.Models.KustoNameAvailabilityResult>>
Public Overridable Function CheckKustoClusterPrincipalAssignmentNameAvailabilityAsync (content As KustoClusterPrincipalAssignmentNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KustoNameAvailabilityResult))

Parameters

content
KustoClusterPrincipalAssignmentNameAvailabilityContent

The name of the principal assignment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to