NSX-T Data Center REST API

IpPoolSubnet (type)

{
  "additionalProperties": false,
  "description": "A set of IPv4 or IPv6 addresses defined by a network CIDR.",
  "extends": {
    "$ref": "Resource"
  },
  "id": "IpPoolSubnet",
  "module_id": "Ipam",
  "properties": {
    "_links": {
      "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.",
      "items": {
        "$ref": "ResourceLink"
      },
      "readonly": true,
      "title": "References related to this resource",
      "type": "array"
    },
    "_schema": {
      "readonly": true,
      "title": "Schema for this resource",
      "type": "string"
    },
    "_self": {
      "$ref": "SelfResourceLink",
      "readonly": true,
      "title": "Link to this resource"
    },
    "allocation_ranges": {
      "items": {
        "$ref": "IpPoolRange"
      },
      "required": true,
      "title": "A collection of IPv4 or IPv6 IP Pool Ranges.",
      "type": "array"
    },
    "cidr": {
      "required": true,
      "title": "Represents network address and the prefix length which will be associated with a layer-2 broadcast domain",
      "type": "string"
    },
    "dns_nameservers": {
      "items": {
        "$ref": "IPAddress"
      },
      "maxItems": 3,
      "title": "The collection of upto 3 DNS servers for the subnet.",
      "type": "array",
      "uniqueItems": true
    },
    "dns_suffix": {
      "format": "hostname",
      "title": "The DNS suffix for the DNS server.",
      "type": "string"
    },
    "gateway_ip": {
      "$ref": "IPAddress",
      "title": "The default gateway address on a layer-3 router."
    }
  },
  "type": "object"
}