Share via


BillingInvoiceResource.GetTransactionsAsync Method

Definition

Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.

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

Parameters

options
BillingInvoiceResourceGetTransactionsOptions

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

Applies to