Package com.morpheusdata.core.providers
Class AbstractCloudCostingProvider
java.lang.Object
com.morpheusdata.core.providers.AbstractCloudCostingProvider
- All Implemented Interfaces:
CloudCostingProvider
,PluginProvider
,UIExtensionProvider
Morpheus provides a way to generate monthly invoices based on resources in a
Cloud
. For most On-Prem clouds
this is handled automatically as the Morpheus Usage/Metering engine automatically tracks usage and applies Standard
Costing invoices based on the price tables imported. However, when dealing with external public clouds, the source
of usage truth is the cloud and not Morpheus. Therefore, to provide accurate costing data for the end user, that data
needs imported from the third party cloud. Amazon, for example creates a CUR report file in S3. Azure provides thirteen
million different APIs depending on your account type. The following abstract adds the default render of Handlebars
Java for server side rendering of a summary snippet if used.- Since:
- 0.15.3
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.morpheusdata.core.providers.CloudCostingProvider
CloudCostingProvider.CloudRefreshOptions
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.morpheusdata.core.providers.CloudCostingProvider
refreshDailyZoneCosting, renderTemplate, show
Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
Methods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy
-
Constructor Details
-
AbstractCloudCostingProvider
public AbstractCloudCostingProvider()
-
-
Method Details
-
getRenderer
Description copied from interface:UIExtensionProvider
Default is Handlebars- Specified by:
getRenderer
in interfaceUIExtensionProvider
- Returns:
- renderer of specified type
-