Package com.azure.compute.batch.models
Class SchedulingState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SchedulingState>
com.azure.compute.batch.models.SchedulingState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SchedulingState
extends com.azure.core.util.ExpandableStringEnum<SchedulingState>
SchedulingState enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SchedulingState
No new Tasks will be scheduled on the Compute Node.static final SchedulingState
Tasks can be scheduled on the Compute Node. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulingState
fromString
(String name) Creates or finds a SchedulingState from its string representation.static Collection
<SchedulingState> values()
Gets known SchedulingState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Tasks can be scheduled on the Compute Node. -
DISABLED
No new Tasks will be scheduled on the Compute Node. Tasks already running on the Compute Node may still run to completion. All Compute Nodes start with scheduling enabled.
-
-
Constructor Details
-
SchedulingState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of SchedulingState value.
-
-
Method Details
-
fromString
Creates or finds a SchedulingState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SchedulingState.
-
values
Gets known SchedulingState values.- Returns:
- known SchedulingState values.
-
fromString(String)
factory method.