ComputeNodeState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values for ComputeNodeState.
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum ComputeNodeState
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type ComputeNodeState =
Public Enum ComputeNodeState
- Inheritance
-
ComputeNodeState
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute
Fields
Name | Value | Description |
---|---|---|
Idle | 0 | The Compute Node is not currently running a Task. |
Rebooting | 1 | The Compute Node is rebooting. |
Reimaging | 2 | The Compute Node is reimaging. |
Running | 3 | The Compute Node is running one or more Tasks (other than a StartTask). |
Unusable | 4 | The Compute Node cannot be used for Task execution due to errors. |
Creating | 5 | The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool. |
Starting | 6 | The Batch service is starting on the underlying virtual machine. |
WaitingForStartTask | 7 | The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed. |
StartTaskFailed | 8 | 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 | 9 | The Batch service has lost contact with the Compute Node, and does not know its true state. |
LeavingPool | 10 | The Compute Node is leaving the Pool, either because the user explicitly removed it or because the Pool is resizing or autoscaling down. |
Offline | 11 | The Compute Node is not currently running a Task, and scheduling of new Tasks to the Compute Node is disabled. |
Preempted | 12 | 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. |
UpgradingOS | 13 | The Compute Node is undergoing an OS upgrade operation. |
Deallocated | 14 | The Compute Node is deallocated. |
Deallocating | 15 | The Compute Node is deallocating. |