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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to