Partager via


DatabasePrincipalAssignmentsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Crée un principal de base de données de cluster Kusto.

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

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
String

Nom de Kusto principalAssignment.

parameters
DatabasePrincipalAssignment

Paramètres Kusto principalAssignments fournis pour l’opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à