VchaIpSpec

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


Properties

Required Property Name Type Description
optional default_gateway string

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

optional dns_servers array of string

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.

required ip_family VchaIpFamily Enum

Family of the IP address to configure the interface.

optional ipv4 VchaIpv4Spec

If the family of the ip is IPV4, then this will point to IPv4 address specification. This field is optional and it is only relevant when the value of IpSpec.ip-family is IPV4.

optional ipv6 VchaIpv6Spec

If the family of the ip is IPV6, then this will point to IPv6 address specification. This field is optional and it is only relevant when the value of IpSpec.ip-family is IPV6.

JSON Example

{
    "ip_family": "enum"
}
Feedback

Was this page helpful?