Class PreferredIpVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PreferredIpVersion>
com.azure.resourcemanager.network.models.PreferredIpVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PreferredIpVersion
extends com.azure.core.util.ExpandableStringEnum<PreferredIpVersion>
The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version
depending on other parameters.
-
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, getValue, hashCode, toString, values
-
Field Details
-
IPV4
Static value IPv4 for PreferredIpVersion. -
IPV6
Static value IPv6 for PreferredIpVersion.
-
-
Constructor Details
-
PreferredIpVersion
Deprecated.Use thefromString(String)factory method.Creates a new instance of PreferredIpVersion value.
-
-
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.
-
fromString(String)factory method.