NSX-T Data Center REST API
WidgetItem (type)
{
"additionalProperties": false,
"description": "Represents a reference to a widget that is held by a container or a multi-widget or a View.",
"id": "WidgetItem",
"module_id": "NsxDashboard",
"nsx_feature": "NsxDashboardWidgetConfig",
"properties": {
"alignment": {
"default": "LEFT",
"description": "Aligns widget either left or right.",
"enum": [
"LEFT",
"RIGHT"
],
"title": "Alignment of widget inside container",
"type": "string"
},
"label": {
"$ref": "Label,
"description": "Applicable for 'DonutConfiguration' and 'StatsConfiguration' reports only. If label is not specified, then it defaults to the label of the donut or stats report.",
"title": "Label of the the report"
},
"rowspan": {
"description": "Represents the vertical span of the widget / container",
"minimum": 1,
"title": "Vertical span",
"type": "int"
},
"separator": {
"default": false,
"description": "If true, separates this widget in a container.",
"title": "A separator after this widget",
"type": "boolean"
},
"span": {
"description": "Represents the horizontal span of the widget / container.",
"maximum": 12,
"minimum": 1,
"title": "Horizontal span",
"type": "int"
},
"weight": {
"default": 10000,
"description": "Determines placement of widget or container relative to other widgets and containers. The lower the weight, the higher it is in the placement order.",
"title": "Weightage or placement of the widget or container",
"type": "int"
},
"widget_id": {
"description": "Id of the widget configuration that is held by a multi-widget or a container or a view.",
"maxLength": 255,
"required": true,
"title": "Id of the widget configuration",
"type": "string"
}
},
"title": "Widget held by MultiWidgetConfiguration or Container or a View",
"type": "object"
}