NSX-T Data Center REST API

AxisUnit (type)

{
  "additionalProperties": false,
  "description": "Represents X and Y axis unit of a graph.",
  "id": "AxisUnit",
  "module_id": "NsxDashboard",
  "nsx_feature": "NsxDashboardWidgetConfig",
  "properties": {
    "condition": {
      "description": "If the condition is met then the above unit will be displayed. to UI. If no condition is provided, then the unit will be displayed unconditionally.",
      "maxLength": 1024,
      "title": "Expression for evaluating condition",
      "type": "string"
    },
    "unit": {
      "description": "An Axis unit.",
      "enum": [
        "COUNT",
        "PERCENT",
        "BYTES",
        "MILLISECONDS",
        "SECONDS",
        "MINUTE",
        "HOUR",
        "DAY",
        "KILO_BYTES",
        "MEGA_BYTES",
        "GIGA_BYTES"
      ],
      "title": "An Axis unit.",
      "type": "string"
    }
  },
  "title": "Axis unit of a graph",
  "type": "object"
}