Class BatchNodeRebootOption

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

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

    • REQUEUE

      public static final BatchNodeRebootOption REQUEUE
      Terminate running Task processes and requeue the Tasks. The Tasks will run again when a Compute Node is available. Restart the Compute Node as soon as Tasks have been terminated.
    • TERMINATE

      public static final BatchNodeRebootOption TERMINATE
      Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Restart the Compute Node as soon as Tasks have been terminated.
    • TASK_COMPLETION

      public static final BatchNodeRebootOption TASK_COMPLETION
      Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Restart the Compute Node when all Tasks have completed.
    • RETAINED_DATA

      public static final BatchNodeRebootOption RETAINED_DATA
      Allow currently running Tasks to complete, then wait for all Task data retention periods to expire. Schedule no new Tasks while waiting. Restart the Compute Node when all Task retention periods have expired.
  • Constructor Details

    • BatchNodeRebootOption

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

    • fromString

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

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