NSX-T Data Center REST API

SubnetDhcpConfig (type)

{
  "additionalProperties": false,
  "description": "The DHCP configurations for a subnet, with the base configurations inherited from the VPC Service Profile. Any additional settings will be applied on top of the inherited configurations.",
  "id": "SubnetDhcpConfig",
  "module_id": "PolicyVpcSubnet",
  "properties": {
    "dhcp_server_additional_config": {
      "$ref": "DhcpServerAdditionalConfig",
      "description": "DHCP configuration of subnet is derived from VPC Service Profile. These additional configuration will take effect along with the derived ones.",
      "nsx_feature": "VpcSimplification",
      "required": false,
      "title": "Additional DHCP server config"
    },
    "mode": {
      "description": "The operational mode of DHCP within the subnet. Options include DHCP server, relay, or deactivated. The default mode will be DHCP_DEACTIVATED. When mode is set to DHCP server or relay, static IP allocation cannot be enabled in the subnet's advanced configuration.",
      "enum": [
        "DHCP_SERVER",
        "DHCP_RELAY",
        "DHCP_DEACTIVATED"
      ],
      "required": false,
      "title": "DHCP Mode",
      "type": "string"
    }
  },
  "title": "Vpc subnet DHCP config",
  "type": "object"
}