Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 2.3 KB

File metadata and controls

27 lines (25 loc) · 2.3 KB

WidgetConfiguration

Properties

Name Type Description Notes
resourceType ResourceTypeEnum Supported visualization types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration.
displayName String Title of the widget. If display_name is omitted, the widget will be shown without a title. [optional]
datasources List<Datasource> The 'datasources' represent the sources from which data will be fetched. Currently, only NSX-API is supported as a 'default' datasource. An example of specifying 'default' datasource along with the urls to fetch data from is given at 'example_request' section of 'CreateWidgetConfiguration' API. [optional]
weight Integer Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details. [optional]
icons List<Icon> Icons to be applied at dashboard for widgets and UI elements. [optional]
shared Boolean Please use the property 'shared' of View instead of this. The widgets of a shared view are visible to other users. [optional]
footer Footer [optional]
drilldownId String Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget. [optional]
isDrilldown Boolean Set to true if this widget should be used as a drilldown. [optional]
legend Legend [optional]

Enum: ResourceTypeEnum

Name Value
LABELVALUECONFIGURATION "LabelValueConfiguration"
DONUTCONFIGURATION "DonutConfiguration"
MULTIWIDGETCONFIGURATION "MultiWidgetConfiguration"
CONTAINERCONFIGURATION "ContainerConfiguration"
STATSCONFIGURATION "StatsConfiguration"
GRIDCONFIGURATION "GridConfiguration"
GRAPHCONFIGURATION "GraphConfiguration"