共用方式為


BillingDepartmentResource.GetBillingPermissionsAsync Method

Definition

Lists the billing permissions the caller has for a department.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to