Partilhar via


NetworkApiVersion Class

public final class NetworkApiVersion
extends ExpandableStringEnum<NetworkApiVersion>

specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations.

Field Summary

Modifier and Type Field and Description
static final NetworkApiVersion TWO_ZERO_TWO_ZERO_ONE_ONE_ZERO_ONE

Static value 2020-11-01 for NetworkApiVersion.

Constructor Summary

Constructor Description
NetworkApiVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkApiVersion value.

Method Summary

Modifier and Type Method and Description
static NetworkApiVersion fromString(String name)

Creates or finds a NetworkApiVersion from its string representation.

static Collection<NetworkApiVersion> values()

Gets known NetworkApiVersion values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

TWO_ZERO_TWO_ZERO_ONE_ONE_ZERO_ONE

public static final NetworkApiVersion TWO_ZERO_TWO_ZERO_ONE_ONE_ZERO_ONE

Static value 2020-11-01 for NetworkApiVersion.

Constructor Details

NetworkApiVersion

@Deprecated
public NetworkApiVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkApiVersion value.

Method Details

fromString

public static NetworkApiVersion fromString(String name)

Creates or finds a NetworkApiVersion from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NetworkApiVersion.

values

public static Collection values()

Gets known NetworkApiVersion values.

Returns:

known NetworkApiVersion values.

Applies to