NSX-T Data Center REST API

AttributeVal (type)

{
  "description": "Contains type specific properties of generic realized entity",
  "id": "AttributeVal",
  "module_id": "PolicyRealizedState",
  "properties": {
    "data_type": {
      "description": "Datatype of the property",
      "enum": [
        "STRING",
        "DATE",
        "INTEGER",
        "BOOLEAN"
      ],
      "readonly": true,
      "required": true,
      "title": "Datatype of property represented by this attribute",
      "type": "string"
    },
    "key": {
      "description": "Attribute key",
      "required": false,
      "title": "Key for the attribute value",
      "type": "string"
    },
    "multivalue": {
      "description": "If attribute has a single value or collection of values",
      "readonly": true,
      "title": "multivalue flag",
      "type": "boolean"
    },
    "values": {
      "description": "List of attribute values",
      "items": {
        "type": "string"
      },
      "readonly": true,
      "required": false,
      "title": "List of values for the attribute",
      "type": "array"
    }
  },
  "title": "Attribute values of realized type",
  "type": "object"
}