Class MigrateToStv2Mode

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

public final class MigrateToStv2Mode extends com.azure.core.util.ExpandableStringEnum<MigrateToStv2Mode>
Mode of Migration to stv2. Default is PreserveIp.
  • Field Details

    • PRESERVE_IP

      public static final MigrateToStv2Mode PRESERVE_IP
      Static value PreserveIp for MigrateToStv2Mode.
    • NEW_IP

      public static final MigrateToStv2Mode NEW_IP
      Static value NewIP for MigrateToStv2Mode.
  • Constructor Details

    • MigrateToStv2Mode

      @Deprecated public MigrateToStv2Mode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of MigrateToStv2Mode value.
  • Method Details

    • fromString

      public static MigrateToStv2Mode fromString(String name)
      Creates or finds a MigrateToStv2Mode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding MigrateToStv2Mode.
    • values

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