Package com.azure.compute.batch.models
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final DisableBatchJobOption
Terminate running Tasks and requeue them.static final DisableBatchJobOption
Terminate running Tasks.static final DisableBatchJobOption
Allow currently running Tasks to complete. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DisableBatchJobOption
fromString
(String name) Creates or finds a DisableBatchJobOption from its string representation.static Collection
<DisableBatchJobOption> values()
Gets known DisableBatchJobOption values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
REQUEUE
Terminate running Tasks and requeue them. The Tasks will run again when the Job is enabled. -
TERMINATE
Terminate running Tasks. The Tasks will be completed with failureInfo indicating that they were terminated, and will not run again. -
WAIT
Allow currently running Tasks to complete.
-
-
Constructor Details
-
DisableBatchJobOption
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DisableBatchJobOption value.
-
-
Method Details
-
fromString
Creates or finds a DisableBatchJobOption from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DisableBatchJobOption.
-
values
Gets known DisableBatchJobOption values.- Returns:
- known DisableBatchJobOption values.
-
fromString(String)
factory method.