IpVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. IpVersion
- com.
- com.
public final class IpVersion
extends ExpandableStringEnum<IpVersion>
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
Modifier and Type | Field and Description |
---|---|
static final
Ip |
IPV4
Static value IPv4 for Ip |
static final
Ip |
IPV6
Static value IPv6 for Ip |
Constructor Summary
Constructor | Description |
---|---|
IpVersion() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Ip |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Ip |
fromString(String name)
Creates or finds a Ip |
static
Collection<Ip |
values()
Gets known Ip |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
IPV4
public static final IpVersion IPV4
Static value IPv4 for IpVersion.
IPV6
public static final IpVersion IPV6
Static value IPv6 for IpVersion.
Constructor Details
IpVersion
@Deprecated
public IpVersion()
Deprecated
Creates a new instance of IpVersion value.
Method Details
fromString
public static IpVersion fromString(String name)
Creates or finds a IpVersion from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known IpVersion values.
Returns:
Applies to
Azure SDK for Java