SubscriptionBillingInvoiceCollection.GetAllAsync 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.AsyncPageable<Azure.ResourceManager.Billing.SubscriptionBillingInvoiceResource> GetAllAsync (Azure.ResourceManager.Billing.Models.SubscriptionBillingInvoiceCollectionGetAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.Billing.Models.SubscriptionBillingInvoiceCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.SubscriptionBillingInvoiceResource>
override this.GetAllAsync : Azure.ResourceManager.Billing.Models.SubscriptionBillingInvoiceCollectionGetAllOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.SubscriptionBillingInvoiceResource>
Public Overridable Function GetAllAsync (options As SubscriptionBillingInvoiceCollectionGetAllOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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

An async collection of SubscriptionBillingInvoiceResource that may take multiple service requests to iterate over.

Applies to