NsxSegmentDhcpConfig

NsxSegmentDhcpConfig
DHCP configuration for segment subnet

DHCP IPv4 and IPv6 configurations are extended from this abstract class.

JSON Example
{
    "dns_servers": [
        "string"
    ],
    "lease_time": 0,
    "resource_type": "string",
    "server_address": "string"
}
array of string
dns_servers
Optional
Constraints: maxItems: 2

IP address of DNS servers for subnet. DNS server IP address must belong to the same address family as segment gateway_address property.

integer As int64 As int64
lease_time
Optional
Constraints: minimum: 60 maximum: 4294967295 default: 86400

DHCP lease time in seconds. When specified, this property overwrites lease time configured DHCP server config.

string
resource_type
Required  

Resource type

string
server_address
Optional

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.

Property Of