Partager via


DatabasePrincipalAssignmentsOperationsExtensions.CheckNameAvailabilityAsync Méthode

Définition

Vérifie que l’affectation du principal de base de données est valide et n’est pas déjà utilisée.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Kusto.IDatabasePrincipalAssignmentsOperations operations, string resourceGroupName, string clusterName, string databaseName, Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalAssignmentCheckNameRequest principalAssignmentName, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Kusto.IDatabasePrincipalAssignmentsOperations * string * string * string * Microsoft.Azure.Management.Kusto.Models.DatabasePrincipalAssignmentCheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Kusto.Models.CheckNameResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IDatabasePrincipalAssignmentsOperations, resourceGroupName As String, clusterName As String, databaseName As String, principalAssignmentName As DatabasePrincipalAssignmentCheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResult)

Paramètres

operations
IDatabasePrincipalAssignmentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources contenant le cluster Kusto.

clusterName
String

Nom du cluster Kusto.

databaseName
String

Nom de la base de données dans le cluster Kusto.

principalAssignmentName
DatabasePrincipalAssignmentCheckNameRequest

Nom de la ressource.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à