NSX-T Data Center REST API

IpBlockQuota (type)

{
  "additionalProperties": false,
  "description": "Represents the limits that can be defined for an IP block.",
  "extends": {
    "$ref": "Quota"
  },
  "id": "IpBlockQuota",
  "module_id": "PolicyLimit",
  "nsx_feature": "IpBlockQuota",
  "polymorphic-type-descriptor": {
    "type-identifier": "IpBlockQuota"
  },
  "properties": {
    "ip_block_address_type": {
      "description": "A quota will be applied to blocks of the same address type. One IPv4 block and another IPv6 block cannot be specified within the same quota.",
      "enum": [
        "IPV4",
        "IPV6"
      ],
      "required": true,
      "title": "Quota Address Type",
      "type": "string"
    },
    "ip_block_paths": {
      "items": {
        "type": "string"
      },
      "title": "IP Blocks in Quota",
      "type": "array"
    },
    "ip_block_visibility": {
      "description": "A quota will be applied on blocks with same visibility. Private and External blocks cannot be specified within the same block",
      "enum": [
        "PRIVATE",
        "EXTERNAL"
      ],
      "required": true,
      "title": "Quota Visibility",
      "type": "string"
    },
    "other_cidrs": {
      "$ref": "OtherCidrsMsg",
      "description": "The mask specifies the largest size subnet that can be carved. Any subnet size <= the mask that is not /32 can be carved out of the IP block.",
      "title": "Quota on CIDRs"
    },
    "resource_type": {
      "enum": [
        "IpBlockQuota"
      ],
      "required": true,
      "type": "string"
    },
    "single_ip_cidrs": {
      "description": "The number of /32 subnets that can be carved from IP blocks defined in the quota. A value of -1 for this field denotes no restriction on the number of subnets.",
      "title": "Single IP count",
      "type": "int"
    }
  },
  "title": "IP Block Quota definition",
  "type": "object"
}