KustoDatabaseResource.CheckKustoDatabasePrincipalAssignmentNameAvailability Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to