BillingDepartmentEnrollmentAccountCollection.GetAllAsync Method

Definition

Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

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

Parameters

options
BillingDepartmentEnrollmentAccountCollectionGetAllOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to