Guest_Ipv4
The Ipv4 structure specifies the IPv4 settings that need to be applied to a virtual network adapter.
{
"type": "string",
"ip_address": "string",
"prefix": 0,
"gateways": [
"string"
]
}
The Ipv4.Type enumerated type specifies different types of the IPv4 configuration.
DHCP : DHCP configuration
STATIC : Static configuration
USER_INPUT_REQUIRED : Indicates that the IPv4 settings are not specified in advance. The user must provide a valid value when the actual customization spec is applied to a virtual machine.
The static IPv4 address This field is optional and it is only relevant when the value of Ipv4.type is STATIC.
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.
Gateways for the IPv4 address. If unset, no gateways are set.