Interface ReservationTransactionsClient


  • public interface ReservationTransactionsClient
    An instance of this class provides access to all the operations defined in ReservationTransactionsClient.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ReservationTransactionInner> 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<ReservationTransactionInner> 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<ModernReservationTransactionInner> 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<ModernReservationTransactionInner> 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.