vcenter guest: ipv6

The ipv6 structure specifies the IPv6 settings that need to be applied to a virtual network adapter. This structure was added in vSphere API 7.0.0.0.

Representation:

{
    "gateways"[
        "string",
        "string"
    ],
    "ipv6"[
        {
            "prefix"1,
            "ip_address""string"
        },
        {
            "prefix"1,
            "ip_address""string"
        }
    ],
    "type""DHCP"
}

Attributes:

Name Type Description
Required
type string The IPv6 configuration type. This attribute was added in vSphere API 7.0.0.0.

Specifies different types of the IPv6 configuration. This enumeration was added in vSphere API 7.0.0.0. Value is one of:
DHCP: DHCP IPv6 configuration. This constant was added in vSphere API 7.0.0.0.
STATIC: Static IPv6 configuration. This constant was added in vSphere API 7.0.0.0.
USER_INPUT_REQUIRED: Indicates that the IPv6 settings are not specified in advance. The user must provide a valid value when the actual customization spec is applied to a virtual machine. This constant was added in vSphere API 7.0.0.0.

ipv6[].ip_address string Static IPv6 Address. This attribute was added in vSphere API 7.0.0.0.

ipv6[].prefix long The CIDR prefix for the interface. This attribute was added in vSphere API 7.0.0.0.

Optional
ipv6 ipv6_address[] IPv6 address. This attribute was added in vSphere API 7.0.0.0.

Optional. It is only relevant when type has value STATIC. This field is optional and it is only relevant when the value of type is STATIC.

gateways string[] gateways for the IPv6 address. This attribute was added in vSphere API 7.0.0.0.

Optional. If unset, no gateways are set.