Class IpVersions
java.lang.Object
com.azure.core.util.ExpandableStringEnum<IpVersions>
com.azure.resourcemanager.compute.models.IpVersions
- 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
FieldsModifier and TypeFieldDescriptionstatic final IpVersionsStatic value IPv4 for IpVersions.static final IpVersionsStatic value IPv6 for IpVersions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IpVersionsfromString(String name) Creates or finds a IpVersions from its string representation.static Collection<IpVersions> values()Gets known IpVersions values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IPV4
Static value IPv4 for IpVersions. -
IPV6
Static value IPv6 for IpVersions.
-
-
Constructor Details
-
IpVersions
Deprecated.Use thefromString(String)factory method.Creates a new instance of IpVersions value.
-
-
Method Details
-
fromString
Creates or finds a IpVersions from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding IpVersions.
-
values
Gets known IpVersions values.- Returns:
- known IpVersions values.
-
fromString(String)factory method.