共用方式為


BillingProfileCollection.GetAll 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.Pageable<Azure.ResourceManager.Billing.BillingProfileResource> GetAll (Azure.ResourceManager.Billing.Models.BillingProfileCollectionGetAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.ResourceManager.Billing.Models.BillingProfileCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.BillingProfileResource>
override this.GetAll : Azure.ResourceManager.Billing.Models.BillingProfileCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.BillingProfileResource>
Public Overridable Function GetAll (options As BillingProfileCollectionGetAllOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

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

Applies to