Class IpVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<IpVersion>
com.azure.resourcemanager.compute.models.IpVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6.
Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
-
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.