NSX-T Data Center REST API

Header (type)

{
  "additionalProperties": false,
  "description": "Header of a widget that provides additional information. This will be shown at the container level. It includes details as label value pairs.",
  "id": "Header",
  "module_id": "NsxDashboard",
  "nsx_feature": "NsxDashboardWidgetConfig",
  "properties": {
    "condition": {
      "description": "If the condition is met then the header 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"
    },
    "content_alignment": {
      "default": "RIGHT",
      "description": "Alignment of header labels.",
      "enum": [
        "LEFT",
        "RIGHT"
      ],
      "title": "alignment for labelvalue pair",
      "type": "string"
    },
    "sub_header_widgets": {
      "description": "An array of widgets which will appear inside the container header Instead of 'sub_headers' property use this property.",
      "items": {
        "$ref": "WidgetItem"
      },
      "minItems": 0,
      "title": "An array of widgets inside the container header",
      "type": "array"
    },
    "sub_headers": {
      "deprecated": true,
      "description": "An array of label-value properties. This field is deprecated instead used 'sub_header_widgets' property to define header widgets.",
      "items": {
        "$ref": "PropertyItem"
      },
      "minItems": 0,
      "title": "Rows",
      "type": "array"
    }
  },
  "title": "Widget Header",
  "type": "object"
}