ComputeNodeState Enum
- java.
lang. Object - java.
lang. Enum<ComputeNodeState> - com.
microsoft. azure. batch. protocol. models. ComputeNodeState
- com.
- java.
public enum ComputeNodeState
Defines values for ComputeNodeState.
Fields
CREATING |
The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the pool. |
IDLE |
The node is not currently running a task. |
LEAVING_POOL |
The node is leaving the pool, either because the user explicitly removed it or because the pool is resizing or autoscaling down. |
OFFLINE |
The node is not currently running a task, and scheduling of new tasks to the node is disabled. |
PREEMPTED |
The low-priority node has been preempted. Tasks which were running on the node when it was pre-empted will be rescheduled when another node becomes available. |
REBOOTING |
The node is rebooting. |
REIMAGING |
The node is reimaging. |
RUNNING |
The node is running one or more tasks (other than a start task). |
START_TASK_FAILED |
The start task has failed on the compute node (and exhausted all retries), and waitForSuccess is set. The node is not usable for running tasks. |
STARTING |
The Batch service is starting on the underlying virtual machine. |
UNKNOWN |
The Batch service has lost contact with the node, and does not know its true state. |
UNUSABLE |
The node cannot be used for task execution due to errors. |
WAITING_FOR_START_TASK |
The start task has started running on the compute node, but waitForSuccess is set and the start task has not yet completed. |
Methods
fromString(String value)
public static ComputeNodeState fromString(String value)
Parses a serialized value to a ComputeNodeState instance.
Parameters
- value
- String
Returns
toString()
public String toString()
Returns
Applies to
Azure SDK for Java