NSX-T Data Center REST API
SegmentDhcpV4Config (type)
{
"additionalProperties": false,
"extends": {
"$ref": "SegmentDhcpConfig
},
"id": "SegmentDhcpV4Config",
"module_id": "PolicyConnectivity",
"polymorphic-type-descriptor": {
"type-identifier": "SegmentDhcpV4Config"
},
"properties": {
"dns_servers": {
"description": "IP address of DNS servers for subnet. DNS server IP address must belong to the same address family as segment gateway_address property.",
"items": {
"$ref": "IPAddress
},
"maxItems": 2,
"required": false,
"title": "DNS servers for subnet",
"type": "array"
},
"lease_time": {
"default": 86400,
"description": "DHCP lease time in seconds. When specified, this property overwrites lease time configured DHCP server config.",
"maximum": 4294967295,
"minimum": 60,
"required": false,
"title": "DHCP lease time for subnet",
"type": "integer"
},
"options": {
"$ref": "DhcpV4Options,
"description": "IPv4 DHCP options for segment subnet.",
"required": false,
"title": "DHCP options"
},
"resource_type": {
"enum": [
"SegmentDhcpV4Config",
"SegmentDhcpV6Config"
],
"required": true,
"type": "string"
},
"server_address": {
"$ref": "IPCIDRBlock,
"description": "IP address of the DHCP server in CIDR format. The server_address is mandatory in case this segment has provided a dhcp_config_path and it represents a DHCP server config. If this SegmentDhcpConfig is a SegmentDhcpV4Config, the address must be an IPv4 address. If this is a SegmentDhcpV6Config, the address must be an IPv6 address. This address must not overlap the ip-ranges of the subnet, or the gateway address of the subnet, or the DHCP static-binding addresses of this segment.",
"required": false,
"title": "IP address of the DHCP server"
}
},
"title": "DHCP configuration of IPv4 subnet in a segment",
"type": "object"
}