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

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

Applies to