SubscriptionBillingInvoiceCollection.GetAll Method

Definition

Lists the invoices for a subscription. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.

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

Parameters

options
SubscriptionBillingInvoiceCollectionGetAllOptions

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

Applies to