Class PreferredIpVersion

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

public final class PreferredIpVersion extends com.azure.core.util.ExpandableStringEnum<PreferredIpVersion>
The IP version to be used. Only IPv4 is supported for now.
  • Field Details

    • IPV4

      public static final PreferredIpVersion IPV4
      Static value IPv4 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.