Class DisableBatchJobOption

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DisableBatchJobOption>
com.azure.compute.batch.models.DisableBatchJobOption
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class DisableBatchJobOption extends com.azure.core.util.ExpandableStringEnum<DisableBatchJobOption>
DisableBatchJobOption enums.
  • Field Details

    • REQUEUE

      public static final DisableBatchJobOption REQUEUE
      Terminate running Tasks and requeue them. The Tasks will run again when the Job is enabled.
    • TERMINATE

      public static final DisableBatchJobOption TERMINATE
      Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again.
    • WAIT

      public static final DisableBatchJobOption WAIT
      Allow currently running Tasks to complete.
  • Constructor Details

    • DisableBatchJobOption

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

    • fromString

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

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