共用方式為


BillingProfileCollection.GetAllAsync Method

Definition

Lists the billing profiles that a user has access to. The operation is supported for billing accounts with agreement of type Microsoft Customer Agreement and Microsoft Partner Agreement.

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

Parameters

options
BillingProfileCollectionGetAllOptions

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 BillingProfileResource that may take multiple service requests to iterate over.

Applies to