Dela via


BillingEnrollmentAccountRoleDefinitionCollection.GetAllAsync Method

Definition

List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions
  • Operation Id: BillingRoleDefinition_ListByEnrollmentAccount
  • Default Api Version: 2024-04-01
  • Resource: BillingEnrollmentAccountRoleDefinitionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingEnrollmentAccountRoleDefinitionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingEnrollmentAccountRoleDefinitionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingEnrollmentAccountRoleDefinitionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingEnrollmentAccountRoleDefinitionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to