Class NetworkApiVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkApiVersion>
com.azure.resourcemanager.compute.models.NetworkApiVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class NetworkApiVersion
extends com.azure.core.util.ExpandableStringEnum<NetworkApiVersion>
specifies the Microsoft.Network API version used when creating networking resources in the Network Interface
Configurations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetworkApiVersionStatic value 2022-11-01 for NetworkApiVersion.static final NetworkApiVersionStatic value 2020-11-01 for NetworkApiVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkApiVersionfromString(String name) Creates or finds a NetworkApiVersion from its string representation.static Collection<NetworkApiVersion> values()Gets known NetworkApiVersion values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TWO_ZERO_TWO_ZERO_ONE_ONE_ZERO_ONE
Static value 2020-11-01 for NetworkApiVersion. -
TWO_ZERO_TWO_TWO_ONE_ONE_ZERO_ONE
Static value 2022-11-01 for NetworkApiVersion.
-
-
Constructor Details
-
NetworkApiVersion
Deprecated.Use thefromString(String)factory method.Creates a new instance of NetworkApiVersion value.
-
-
Method Details
-
fromString
Creates or finds a NetworkApiVersion from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding NetworkApiVersion.
-
values
Gets known NetworkApiVersion values.- Returns:
- known NetworkApiVersion values.
-
fromString(String)factory method.