Megosztás a következőn keresztül:


BillingProfileConsumptionResource.GetReservationTransactions Method

Definition

List of transactions for reserved instances on billing profile scope. The refund transactions are posted along with its purchase transaction (i.e. in the purchase billing month). For example, The refund is requested in May 2021. This refund transaction will have event date as May 2021 but the billing month as April 2020 when the reservation purchase was made.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/providers/Microsoft.Consumption/reservationTransactions
  • Operation Id: ReservationTransactions_ListByBillingProfile
public virtual Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationTransaction> GetReservationTransactions (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationTransactions : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationTransaction>
override this.GetReservationTransactions : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationTransaction>
Public Overridable Function GetReservationTransactions (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ConsumptionModernReservationTransaction)

Parameters

filter
String

Filter reservation transactions by date range. The properties/EventDate for start date and end date. The filter supports 'le' and 'ge'. Note: API returns data for the entire start date's and end date's billing month. For example, filter properties/eventDate+ge+2020-01-01+AND+properties/eventDate+le+2020-12-29 will include data for entire December 2020 month (i.e. will contain records for dates December 30 and 31).

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to