Partilhar via


BillingDepartmentRoleDefinitionCollection.GetAll(CancellationToken) Method

Definition

List the definition for a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to