BillingRoleDefinitionCollection.GetAll(CancellationToken) Method

Definition

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.Pageable<Azure.ResourceManager.Billing.BillingRoleDefinitionResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.BillingRoleDefinitionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.BillingRoleDefinitionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingRoleDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of BillingRoleDefinitionResource that may take multiple service requests to iterate over.

Applies to