Freigeben über


DatabasesOperationsExtensions.AddPrincipalsAsync Methode

Definition

Fügen Sie Berechtigungen für Datenbankprinzipale hinzu.

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

Parameter

operations
IDatabasesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die den Kusto-Cluster enthält.

clusterName
String

Der Name des Kusto-Clusters.

databaseName
String

Der Name der Datenbank im Kusto-Cluster.

databasePrincipalsToAdd
DatabasePrincipalListRequest

Liste der hinzuzufügenden Datenbankprinzipale.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: