SegmentDhcpConfig (type)

{
  "abstract": true, 
  "additionalProperties": false, 
  "description": "DHCP IPv4 and IPv6 configurations are extended from this abstract class.", 
  "id": "SegmentDhcpConfig", 
  "module_id": "PolicyConnectivity", 
  "polymorphic-type-descriptor": {
    "mode": "enabled", 
    "property-name": "resource_type"
  }, 
  "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"
    }, 
    "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 for segment subnet", 
  "type": "object"
}