Interface ReservationTransactions
-
public interface ReservationTransactions
Resource collection API of ReservationTransactions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<ReservationTransaction>
list(String billingAccountId)
List of transactions for reserved instances on billing account scope.com.azure.core.http.rest.PagedIterable<ReservationTransaction>
list(String billingAccountId, String filter, com.azure.core.util.Context context)
List of transactions for reserved instances on billing account scope.com.azure.core.http.rest.PagedIterable<ModernReservationTransaction>
listByBillingProfile(String billingAccountId, String billingProfileId)
List of transactions for reserved instances on billing account scope.com.azure.core.http.rest.PagedIterable<ModernReservationTransaction>
listByBillingProfile(String billingAccountId, String billingProfileId, String filter, com.azure.core.util.Context context)
List of transactions for reserved instances on billing account scope.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<ReservationTransaction> list(String billingAccountId)
List of transactions for reserved instances on billing account scope.- Parameters:
billingAccountId
- BillingAccount ID.- Returns:
- result of listing reservation recommendations.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ReservationTransaction> list(String billingAccountId, String filter, com.azure.core.util.Context context)
List of transactions for reserved instances on billing account scope.- 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'.context
- The context to associate with this operation.- Returns:
- result of listing reservation recommendations.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByBillingProfile
com.azure.core.http.rest.PagedIterable<ModernReservationTransaction> listByBillingProfile(String billingAccountId, String billingProfileId)
List of transactions for reserved instances on billing account scope.- Parameters:
billingAccountId
- BillingAccount ID.billingProfileId
- Azure Billing Profile ID.- Returns:
- result of listing reservation recommendations.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByBillingProfile
com.azure.core.http.rest.PagedIterable<ModernReservationTransaction> listByBillingProfile(String billingAccountId, String billingProfileId, String filter, com.azure.core.util.Context context)
List of transactions for reserved instances on billing account scope.- 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'.context
- The context to associate with this operation.- Returns:
- result of listing reservation recommendations.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-