次の方法で共有


BillingProfileCustomerResource.GetTransactions Method

Definition

Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transactions
  • Operation Id: Transactions_ListByCustomer
  • Default Api Version: 2024-04-01
public virtual Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransactionData> GetTransactions (Azure.ResourceManager.Billing.Models.BillingProfileCustomerResourceGetTransactionsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTransactions : Azure.ResourceManager.Billing.Models.BillingProfileCustomerResourceGetTransactionsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransactionData>
override this.GetTransactions : Azure.ResourceManager.Billing.Models.BillingProfileCustomerResourceGetTransactionsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingTransactionData>
Public Overridable Function GetTransactions (options As BillingProfileCustomerResourceGetTransactionsOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingTransactionData)

Parameters

options
BillingProfileCustomerResourceGetTransactionsOptions

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

Exceptions

options is null.

Applies to