Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to