Package com.morpheusdata.core.costing
Interface MorpheusAccountInvoiceService
-
public interface MorpheusAccountInvoiceService
Provides accessor methods for fetching invoice/costing data from the Morpheus Database. The invoice data is organized by resource association or by summary. There are rollup invoices for Groups,Clouds,Users, Instances, Containers and even Accounts. These queries can be intensive, it is important to try and chunk or appropriately filter the particular invoices that are wished for in order to minimize any overhead. These helper methods are useful for creating custom reports or custom pages/widgets.- Since:
- 0.12.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.reactivex.Flowable<AccountInvoice>
listByApiParams(User user, ApiParameterMap<java.lang.String,java.lang.Object> parameters)
io.reactivex.Single<CloudCostResponse>
loadCloudCost(Account account, Cloud cloud, java.util.Date startDate, java.util.Date endDate)
io.reactivex.Single<CloudCostResponse>
loadCloudCost(Account account, Cloud cloud, java.util.Date startDate, java.util.Date endDate, java.lang.Boolean byTenant)
io.reactivex.Single<CloudCostResponse>
loadCloudCost(Account account, Cloud cloud, java.util.Date startDate, java.util.Date endDate, java.lang.Boolean byTenant, java.util.Map additionalOptions)
-
-
-
Method Detail
-
listByApiParams
io.reactivex.Flowable<AccountInvoice> listByApiParams(User user, ApiParameterMap<java.lang.String,java.lang.Object> parameters)
-
loadCloudCost
io.reactivex.Single<CloudCostResponse> loadCloudCost(Account account, Cloud cloud, java.util.Date startDate, java.util.Date endDate)
-
loadCloudCost
io.reactivex.Single<CloudCostResponse> loadCloudCost(Account account, Cloud cloud, java.util.Date startDate, java.util.Date endDate, java.lang.Boolean byTenant)
-
loadCloudCost
io.reactivex.Single<CloudCostResponse> loadCloudCost(Account account, Cloud cloud, java.util.Date startDate, java.util.Date endDate, java.lang.Boolean byTenant, java.util.Map additionalOptions)
-
-