共用方式為


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

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

Applies to