Compute Engine v1 API - Enum NetworkInterface.Types.StackType (2.15.0)

public enum NetworkInterface.Types.StackType

Reference documentation and code samples for the Compute Engine v1 API enum NetworkInterface.Types.StackType.

The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations.

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Fields

NameDescription
Ipv4Ipv6

The network interface can have both IPv4 and IPv6 addresses.

Ipv4Only

The network interface will be assigned IPv4 address.

UndefinedStackType

A value indicating that the enum field is not set.

UnspecifiedStackType