Guest_Ipv4

Guest_Ipv4
Guest_Ipv4

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

JSON Example
{
    "type": "string",
    "ip_address": "string",
    "prefix": 0,
    "gateways": [
        "string"
    ]
}
type
Required

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.

string
ip_address
Optional

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

integer As int64
prefix
Optional

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.

array of string
gateways
Optional

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