Share via


BillingEnrollmentAccountRoleAssignmentCollection.GetAllAsync Method

Definition

Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to