Package com.azure.compute.batch.models
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchNodeDisableSchedulingOption
Terminate running Task processes and requeue the Tasks.static final BatchNodeDisableSchedulingOption
Allow currently running Tasks to complete.static final BatchNodeDisableSchedulingOption
Terminate running Tasks. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String name) Creates or finds a BatchNodeDisableSchedulingOption from its string representation.values()
Gets known BatchNodeDisableSchedulingOption values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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
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
Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Enter offline state when all Tasks have completed.
-
-
Constructor Details
-
BatchNodeDisableSchedulingOption
Deprecated.Use thefromString(String)
factory method.Creates a new instance of BatchNodeDisableSchedulingOption value.
-
-
Method Details
-
fromString
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.
-
fromString(String)
factory method.