Share via


SynapseDatabaseResource.CheckKustoPoolDatabasePrincipalAssignmentNameAvailability Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/checkPrincipalAssignmentNameAvailability
  • Operation Id: KustoPoolDatabasePrincipalAssignments_CheckNameAvailability
public virtual Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult> CheckKustoPoolDatabasePrincipalAssignmentNameAvailability (Azure.ResourceManager.Synapse.Models.KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckKustoPoolDatabasePrincipalAssignmentNameAvailability : Azure.ResourceManager.Synapse.Models.KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>
override this.CheckKustoPoolDatabasePrincipalAssignmentNameAvailability : Azure.ResourceManager.Synapse.Models.KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.Models.KustoPoolNameAvailabilityResult>
Public Overridable Function CheckKustoPoolDatabasePrincipalAssignmentNameAvailability (content As KustoPoolDatabasePrincipalAssignmentNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of KustoPoolNameAvailabilityResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to