BillingRoleDefinitionCollection.GetAllAsync(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.
Lists the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions
- Operation Id: BillingRoleDefinition_ListByBillingAccount
- Default Api Version: 2024-04-01
- Resource: BillingRoleDefinitionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingRoleDefinitionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingRoleDefinitionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingRoleDefinitionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingRoleDefinitionResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of BillingRoleDefinitionResource that may take multiple service requests to iterate over.