NSX-T Data Center REST API

CidrArrayConstraintValue (type)

{
  "additionalProperties": false,
  "description": "List of CIDR values",
  "extends": {
    "$ref": "ConstraintValue"
  },
  "id": "CidrArrayConstraintValue",
  "module_id": "PolicyConstraints",
  "polymorphic-type-descriptor": {
    "type-identifier": "CidrArrayConstraintValue"
  },
  "properties": {
    "resource_type": {
      "enum": [
        "StringArrayConstraintValue",
        "CidrArrayConstraintValue",
        "IntegerArrayConstraintValue"
      ],
      "required": true,
      "type": "string"
    },
    "values": {
      "description": "This array can consist of a single IP address, IP address range or a subnet. Its type can be of either IPv4 or IPv6. Both IPv4 and IPv6 addresses within one expression is not allowed. Supported list of formats are, \"192.168.1.1\", \"192.168.1.1-192.168.1.100\", \"192.168.0.0/24\", \"fe80::250:56ff:fe83:318c\", \"fe80::250:56ff:fe83:3181-fe80::250:56ff:fe83:318c\", \"fe80::250:56ff:fe83:318c/64\".",
      "items": {
        "$ref": "IPElement"
      },
      "maxItems": 100,
      "minItems": 1,
      "required": true,
      "title": "Array of IP addresses",
      "type": "array"
    }
  },
  "title": "Array of CIDR Values to perform operation",
  "type": "object"
}