Condividi tramite


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to