Class NodeState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NodeState>
com.azure.resourcemanager.machinelearning.models.NodeState
State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NodeStateStatic value idle for NodeState.static final NodeStateStatic value leaving for NodeState.static final NodeStateStatic value preempted for NodeState.static final NodeStateStatic value preparing for NodeState.static final NodeStateStatic value running for NodeState.static final NodeStateStatic value unusable for NodeState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeStatefromString(String name) Creates or finds a NodeState from its string representation.static Collection<NodeState>values()Gets known NodeState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
IDLE
Static value idle for NodeState. -
RUNNING
Static value running for NodeState. -
PREPARING
Static value preparing for NodeState. -
UNUSABLE
Static value unusable for NodeState. -
LEAVING
Static value leaving for NodeState. -
PREEMPTED
Static value preempted for NodeState.
-
-
Constructor Details
-
NodeState
Deprecated.Use thefromString(String)factory method.Creates a new instance of NodeState value.
-
-
Method Details
-
fromString
Creates or finds a NodeState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding NodeState.
-
values
Gets known NodeState values.- Returns:
- known NodeState values.
-
fromString(String)factory method.