# Class StackType (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    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 toIPV4_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
usingpatch.

| ## 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. |
| `IPV6_ONLY` | New VMs in this subnet will only be assigned IPv6 addresses. |
| `UNSPECIFIED_STACK_TYPE` | No description available. |