共用方式為


BillingProfileSubscriptionCollection.GetAllAsync Method

Definition

Lists the subscriptions that are billed to a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.

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

Parameters

options
BillingProfileSubscriptionCollectionGetAllOptions

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

Applies to