Condividi tramite


BillingSubscriptionCollection.GetAllAsync Method

Definition

Lists the subscriptions for a billing account.

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

Parameters

options
BillingSubscriptionCollectionGetAllOptions

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

Applies to