DatabasePrincipalAssignmentsOperationsExtensions.ListAsync Method

Definition

Lists all Kusto cluster database principalAssignments.

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

Parameters

operations
IDatabasePrincipalAssignmentsOperations

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.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<DatabasePrincipalAssignment>>

Applies to