다음을 통해 공유


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
  • Default Api Version: 2024-04-13
  • Resource: KustoDatabaseResource
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