Udostępnij za pośrednictwem


DatabasesOperationsExtensions.ListPrincipalsAsync Method

Definition

Returns a list of database principals of the given Kusto cluster and database.

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

Parameters

operations
IDatabasesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the Kusto cluster.

clusterName
String

The name of the Kusto cluster.

databaseName
String

The name of the database in the Kusto cluster.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to