Package com.azure.compute.batch.models
Class BatchNodeState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchNodeState>
com.azure.compute.batch.models.BatchNodeState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
BatchNodeState enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchNodeState
The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool.static final BatchNodeState
The Compute Node is deallocated.static final BatchNodeState
The Compute Node is deallocating.static final BatchNodeState
The Compute Node is not currently running a Task.static final BatchNodeState
The Compute Node is leaving the Pool, either because the user explicitly removed it or because the Pool is resizing or autoscaling down.static final BatchNodeState
The Compute Node is not currently running a Task, and scheduling of new Tasks to the Compute Node is disabled.static final BatchNodeState
The Spot/Low-priority Compute Node has been preempted.static final BatchNodeState
The Compute Node is rebooting.static final BatchNodeState
The Compute Node is reimaging.static final BatchNodeState
The Compute Node is running one or more Tasks (other than a StartTask).static final BatchNodeState
The StartTask has failed on the Compute Node (and exhausted all retries), and waitForSuccess is set.static final BatchNodeState
The Batch service is starting on the underlying virtual machine.static final BatchNodeState
The Batch service has lost contact with the Compute Node, and does not know its true state.static final BatchNodeState
The Compute Node cannot be used for Task execution due to errors.static final BatchNodeState
The Compute Node is undergoing an OS upgrade operation.static final BatchNodeState
The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchNodeState
fromString
(String name) Creates or finds a BatchNodeState from its string representation.static Collection
<BatchNodeState> values()
Gets known BatchNodeState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IDLE
The Compute Node is not currently running a Task. -
REBOOTING
The Compute Node is rebooting. -
REIMAGING
The Compute Node is reimaging. -
RUNNING
The Compute Node is running one or more Tasks (other than a StartTask). -
UNUSABLE
The Compute Node cannot be used for Task execution due to errors. -
CREATING
The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool. -
STARTING
The Batch service is starting on the underlying virtual machine. -
WAITING_FOR_START_TASK
The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed. -
START_TASK_FAILED
The StartTask has failed on the Compute Node (and exhausted all retries), and waitForSuccess is set. The Compute Node is not usable for running Tasks. -
UNKNOWN
The Batch service has lost contact with the Compute Node, and does not know its true state. -
LEAVING_POOL
The Compute Node is leaving the Pool, either because the user explicitly removed it or because the Pool is resizing or autoscaling down. -
OFFLINE
The Compute Node is not currently running a Task, and scheduling of new Tasks to the Compute Node is disabled. -
PREEMPTED
The Spot/Low-priority Compute Node has been preempted. Tasks which were running on the Compute Node when it was preempted will be rescheduled when another Compute Node becomes available. -
UPGRADING_OS
The Compute Node is undergoing an OS upgrade operation. -
DEALLOCATED
The Compute Node is deallocated. -
DEALLOCATING
The Compute Node is deallocating.
-
-
Constructor Details
-
BatchNodeState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of BatchNodeState value.
-
-
Method Details
-
fromString
Creates or finds a BatchNodeState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding BatchNodeState.
-
values
Gets known BatchNodeState values.- Returns:
- known BatchNodeState values.
-
fromString(String)
factory method.