Class PreferredIpVersion

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PreferredIpVersion>
com.azure.resourcemanager.network.models.PreferredIpVersion
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PreferredIpVersion extends com.azure.core.util.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 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding PreferredIpVersion.
    • values

      public static Collection<PreferredIpVersion> values()
      Gets known PreferredIpVersion values.
      Returns:
      known PreferredIpVersion values.