Developer Documentation

GuestIpv4

The Ipv4 structure specifies the IPv4 settings that need to be applied to a virtual network adapter.


Properties

Required Property Name Type Description
optional gateways array of string

Gateways for the IPv4 address. If unset, no gateways are set.

optional ip_address string

The static IPv4 address This field is optional and it is only relevant when the value of Ipv4.type is STATIC.

optional prefix integer

The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. This field is optional and it is only relevant when the value of Ipv4.type is STATIC.

required type Ipv4Type Enum

The type of the IPv4 configuration.

Feedback

Was this page helpful?