Class BatchNodeReimageOption

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

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

    • REQUEUE

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

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

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

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

    • BatchNodeReimageOption

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

    • fromString

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

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