Class StackType (1.20.0)

StackType(value)

The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.

Enums

Name Description
UNDEFINED_STACK_TYPE A value indicating that the enum field is not set.
IPV4_IPV6 New VMs in this subnet can have both IPv4 and IPv6 addresses.
IPV4_ONLY New VMs in this subnet will only be assigned IPv4 addresses.