NSX-T Data Center REST API

DhcpConfig (type)

{
  "description": "DHCP config. This dhcp configuration can be overriden per subnet.", 
  "id": "DhcpConfig", 
  "module_id": "PolicyVpc", 
  "properties": {
    "dhcp_relay_config_path": {
      "description": "Policy path of DHCP-relay-config. If configured then all the subnets will be configured with the DHCP relay server. If not specified, then the local DHCP server will be configured for all connected subnets.", 
      "required": false, 
      "title": "DHCP relay config path", 
      "type": "string", 
      "x-vmw-cross-reference": [
        {
          "leftType": [
            "Vpc"
          ], 
          "relationshipType": "VPC_DHCP_RELAY_CONFIG_RELATIONSHIP", 
          "rightType": [
            "DhcpRelayConfig"
          ]
        }
      ]
    }, 
    "dns_client_config": {
      "$ref": "DnsClientConfig, 
      "description": "Dns configuration", 
      "required": false, 
      "title": "Dns client configuration"
    }, 
    "enable_dhcp": {
      "description": "If activated, the DHCP server will be configured based on IP address type. If deactivated then neither DHCP server nor relay shall be configured.", 
      "required": false, 
      "title": "Activate or Deactivate DHCP", 
      "type": "boolean"
    }
  }, 
  "title": "DHCP configuration", 
  "type": "object"
}