BillingSubscriptionCollection.GetAll(CancellationToken) Method

Definition

Lists the subscriptions for a billing account. The operation is currently supported for billing accounts with agreement type Microsoft Customer Agreement, Microsoft Partner Agreement and Microsoft Online Services Program.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
  • Operation Id: BillingSubscriptions_ListByBillingAccount
public virtual Azure.Pageable<Azure.ResourceManager.Billing.BillingSubscriptionResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.BillingSubscriptionResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.BillingSubscriptionResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingSubscriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to