BillingProfileRoleDefinitionCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the role definitions for a billing profile. 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}/billingProfiles/{billingProfileName}/billingRoleDefinitions
  • Operation Id: BillingRoleDefinition_ListByBillingProfile
  • Default Api Version: 2024-04-01
  • Resource: BillingProfileRoleDefinitionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingProfileRoleDefinitionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingProfileRoleDefinitionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingProfileRoleDefinitionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingProfileRoleDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to