NSX-T Data Center REST API

Label (type)

{
  "additionalProperties": false,
  "description": "Label that will be displayed for a UI element.",
  "id": "Label",
  "module_id": "NsxDashboard",
  "nsx_feature": "NsxDashboardWidgetConfig",
  "properties": {
    "condition": {
      "description": "If the condition is met then the label will be applied. Examples of expression syntax are provided under example_request section of CreateWidgetConfiguration API.",
      "maxLength": 1024,
      "title": "Expression for evaluating condition",
      "type": "string"
    },
    "hover": {
      "default": false,
      "description": "If true, displays the label only on hover",
      "title": "Show label only on hover",
      "type": "boolean"
    },
    "icons": {
      "description": "Icons to be applied at dashboard for the label",
      "items": {
        "$ref": "Icon"
      },
      "minItems": 0,
      "title": "Icons",
      "type": "array"
    },
    "navigation": {
      "description": "Hyperlink of the specified UI page that provides details.",
      "maxLength": 1024,
      "title": "Navigation to a specified UI page",
      "type": "string"
    },
    "text": {
      "description": "Text to be displayed at the label.",
      "maxLength": 255,
      "required": true,
      "title": "Label text",
      "type": "string"
    }
  },
  "title": "Label",
  "type": "object"
}