KustoDatabaseResource.GetPrincipalsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.