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