Class IpVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<IpVersion>
com.azure.resourcemanager.network.models.IpVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
IP address version.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IpVersionfromString(String name) Creates or finds a IpVersion from its string representation.static Collection<IpVersion> values()Gets known IpVersion values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IPV4
Static value IPv4 for IpVersion. -
IPV6
Static value IPv6 for IpVersion.
-
-
Constructor Details
-
IpVersion
Deprecated.Use thefromString(String)factory method.Creates a new instance of IpVersion value.
-
-
Method Details
-
fromString
Creates or finds a IpVersion from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding IpVersion.
-
values
Gets known IpVersion values.- Returns:
- known IpVersion values.
-
fromString(String)factory method.