Class PreferredIpVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PreferredIpVersion>
com.azure.resourcemanager.network.models.PreferredIpVersion
public final class PreferredIpVersion
extends com.azure.core.util.ExpandableStringEnum<PreferredIpVersion>
Defines values for PreferredIpVersion.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PreferredIpVersionStatic value IPv4 for PreferredIpVersion.static final PreferredIpVersionStatic value IPv6 for PreferredIpVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PreferredIpVersionfromString(String name) Creates or finds a PreferredIpVersion from its string representation.static Collection<PreferredIpVersion>values()Gets known PreferredIpVersion values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
IPV4
Static value IPv4 for PreferredIpVersion. -
IPV6
Static value IPv6 for PreferredIpVersion.
-
-
Constructor Details
-
PreferredIpVersion
public PreferredIpVersion()
-
-
Method Details
-
fromString
Creates or finds a PreferredIpVersion from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PreferredIpVersion.
-
values
Gets known PreferredIpVersion values.- Returns:
- known PreferredIpVersion values.
-