Class OnBatchTaskFailure

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

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

    • NO_ACTION

      public static final OnBatchTaskFailure NO_ACTION
      Do nothing. The Job remains active unless terminated or disabled by some other means.
    • PERFORM_EXIT_OPTIONS_JOB_ACTION

      public static final OnBatchTaskFailure PERFORM_EXIT_OPTIONS_JOB_ACTION
      Terminate the Job. The Job's terminationReason is set to 'AllTasksComplete'.
  • Constructor Details

    • OnBatchTaskFailure

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

    • fromString

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

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