Vcha_IpSpec

Vcha_IpSpec
Vcha_IpSpec

The IpSpec structure contains IP information used to configure a network interface.

JSON Example
{
    "ip_family": "string",
    "ipv4": {
        "address": "string",
        "subnet_mask": "string",
        "prefix": 0
    },
    "ipv6": {
        "address": "string",
        "prefix": 0
    },
    "default_gateway": "string",
    "dns_servers": [
        "string"
    ]
}
ip_family
Required

The IpFamily enumerated type defines the Ip address family.
IPV4 : IPV4 address family
IPV6 : IPv6 address family

ipv4
Optional

The Ipv4Spec structure contains IPV4 information used to configure a network interface.

ipv6
Optional

The Ipv6Spec structure contains IPV6 information used to configure a network interface.

string
default_gateway
Optional

The IP address of the Gateway for this interface. If unset, gateway will not be used for the network interface.

array of string
dns_servers
Optional

The list of IP addresses of the DNS servers for this interface. This list is a comma separated list. If unset, DNS servers will not be used for the network interface.