DatabasesOperationsExtensions.AddPrincipalsAsync Method

Definition

Add Database principals permissions.

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)

Parameters

operations
IDatabasesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group containing the Kusto cluster.

clusterName
System.String

The name of the Kusto cluster.

databaseName
System.String

The name of the database in the Kusto cluster.

databasePrincipalsToAdd
DatabasePrincipalListRequest

List of database principals to add.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DatabasePrincipalListResult>

Applies to