Share via


KustoDatabaseResource.GetPrincipalsAsync(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/listPrincipals
  • Operation Id: Databases_ListPrincipals
public virtual Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal> GetPrincipalsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrincipalsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal>
override this.GetPrincipalsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Kusto.Models.KustoDatabasePrincipal>
Public Overridable Function GetPrincipalsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of KustoDatabasePrincipal)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of KustoDatabasePrincipal that may take multiple service requests to iterate over.

Applies to