SubnetworkStackType

enum SubnetworkStackType : Enum<SubnetworkStackType> , ConvertibleToJava<SubnetworkStackType>

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.

Entries

Link copied to clipboard

New VMs in this subnet can have both IPv4 and IPv6 addresses.

Link copied to clipboard

New VMs in this subnet will only be assigned IPv4 addresses.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): SubnetworkStackType
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: SubnetworkStackType
Link copied to clipboard
Link copied to clipboard