NSX-T Data Center REST API

VpcDhcpServerConfig (type)

{
  "additionalProperties": false,
  "description": "DHCP server configuration includes IP address leasing, DNS servers, NTP servers,etc.",
  "id": "VpcDhcpServerConfig",
  "module_id": "PolicyVpcProfile",
  "properties": {
    "advanced_config": {
      "$ref": "VpcDhcpAdvancedConfig",
      "description": "VPC DHCP advance configuration",
      "required": false,
      "title": "VPC DHCP advance configuration"
    },
    "dns_client_config": {
      "$ref": "DnsClientConfig",
      "description": "Dns client configuration includes the DNS servers that DHCP clients uses to resolve domain names into IP addresses. DNS servers must be defined using this property instead of using DHCP option code 6 directly.",
      "required": false,
      "title": "Dns client configuration"
    },
    "lease_time": {
      "default": 86400,
      "description": "This property specifies the duration (in seconds) for which an IP address lease is valid before the client must renew it. Lease time must be configured using this property rather than using DHCP option code 51 directly.",
      "maximum": 4294967295,
      "minimum": 60,
      "required": false,
      "title": "Subnet DHCP lease time.",
      "type": "integer"
    },
    "ntp_servers": {
      "description": "This property specifies the Network Time Protocol servers that clients use to synchronize their system clock. The NTP servers must be configured using this property rather than using DHCP option code 42 directly. This approach ensures consistency and centralized management if NTP settings.",
      "items": {
        "$ref": "IPAddress"
      },
      "maxItems": 2,
      "required": false,
      "title": "NTP Servers",
      "type": "array"
    }
  },
  "title": "DHCP server configuration",
  "type": "object"
}