ReservationTransactionsClient Interface

public interface ReservationTransactionsClient

An instance of this class provides access to all the operations defined in ReservationTransactionsClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<ReservationTransactionInner> list(String billingAccountId)

List of transactions for reserved instances on billing account scope.

abstract PagedIterable<ReservationTransactionInner> list(String billingAccountId, String filter, Context context)

List of transactions for reserved instances on billing account scope.

abstract PagedIterable<ModernReservationTransactionInner> listByBillingProfile(String billingAccountId, String billingProfileId)

List of transactions for reserved instances on billing profile scope.

abstract PagedIterable<ModernReservationTransactionInner> listByBillingProfile(String billingAccountId, String billingProfileId, String filter, Context context)

List of transactions for reserved instances on billing profile scope.

Method Details

list

public abstract PagedIterable<ReservationTransactionInner> list(String billingAccountId)

List of transactions for reserved instances on billing account scope. Note: 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.

Parameters:

billingAccountId - BillingAccount ID.

Returns:

result of listing reservation recommendations as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ReservationTransactionInner> list(String billingAccountId, String filter, Context context)

List of transactions for reserved instances on billing account scope. Note: 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.

Parameters:

billingAccountId - BillingAccount ID.
filter - 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 the entire December 2020 month (i.e. will contain records for dates December 30 and 31).
context - The context to associate with this operation.

Returns:

result of listing reservation recommendations as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<ModernReservationTransactionInner> listByBillingProfile(String billingAccountId, String billingProfileId)

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.

Parameters:

billingAccountId - BillingAccount ID.
billingProfileId - Azure Billing Profile ID.

Returns:

result of listing reservation recommendations as paginated response with PagedIterable<T>.

listByBillingProfile

public abstract PagedIterable<ModernReservationTransactionInner> listByBillingProfile(String billingAccountId, String billingProfileId, String filter, Context context)

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.

Parameters:

billingAccountId - BillingAccount ID.
billingProfileId - Azure Billing Profile ID.
filter - 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).
context - The context to associate with this operation.

Returns:

result of listing reservation recommendations as paginated response with PagedIterable<T>.

Applies to