Package com.morpheusdata.core.providers
Interface CloudCostingSummaryProvider
- All Superinterfaces:
PluginProvider,UIExtensionProvider
Provides a custom UI renderer for the Costing Summary section in the Cloud -> Summary tab.
This allows cloud plugins to render custom costing information specific to their cloud provider.
Example use cases:
- Display AWS service usage costs breakdown
- Show Azure cost analysis charts
- Display custom billing/invoice information
- Since:
- 1.2.15
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.morpheusdata.core.providers.PluginProvider
PluginProvider.ConfigurationDriftCheckFacet<T>, PluginProvider.EventSubscriberFacet<E extends Event>, PluginProvider.UpdateFacet<T> -
Method Summary
Modifier and TypeMethodDescriptionrenderCostingSummary(Cloud cloud, User user, Object data) Renders the costing summary content for the specified cloud.Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPluginMethods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
Method Details
-
renderCostingSummary
Renders the costing summary content for the specified cloud. This method is called when the Cloud -> Summary tab is displayed for clouds with costing enabled.- Parameters:
cloud- the cloud for which to render the costing summaryuser- the current user viewing the summarydata- optional data passed from the CloudProvider's getCloudSummary method- Returns:
- HTMLResponse containing the rendered costing summary content
-