Condividi tramite


BillingDepartmentRoleAssignmentCollection.GetAllAsync Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to