GuestIpv4

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


Properties

array of string
gateways Optional

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


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.


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.

Possible values are: DHCPSTATICUSER_INPUT_REQUIRED

JSON Example

{
	"type": "DHCP"
}

Feedback

Was this page helpful?