NSX-T Data Center REST API

VpcSubnetDhcpConfig (type)

{
  "description": "VPC Subnet DHCP config", 
  "extends": {
    "$ref": "DhcpConfig
  }, 
  "id": "VpcSubnetDhcpConfig", 
  "module_id": "PolicyVpcSubnet", 
  "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"
    }, 
    "static_pool_config": {
      "$ref": "StaticPoolConfig, 
      "description": "Static IP pool configuration.", 
      "required": false, 
      "title": "Static IP pool configuration"
    }
  }, 
  "title": "VPC Subnet DHCP configuration", 
  "type": "object"
}