Class BatchNodeDisableSchedulingOption

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

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

    • REQUEUE

      public static final BatchNodeDisableSchedulingOption REQUEUE
      Terminate running Task processes and requeue the Tasks. The Tasks may run again on other Compute Nodes, or when Task scheduling is re-enabled on this Compute Node. Enter offline state as soon as Tasks have been terminated.
    • TERMINATE

      public static final BatchNodeDisableSchedulingOption TERMINATE
      Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Enter offline state as soon as Tasks have been terminated.
    • TASK_COMPLETION

      public static final BatchNodeDisableSchedulingOption TASK_COMPLETION
      Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Enter offline state when all Tasks have completed.
  • Constructor Details

    • BatchNodeDisableSchedulingOption

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

    • fromString

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

      Gets known BatchNodeDisableSchedulingOption values.
      Returns:
      known BatchNodeDisableSchedulingOption values.