ComputeNodeState Enum

Definition

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

Creating 5

The Batch service has obtained the underlying virtual machine from Azure Compute, but it has not yet started to join the Pool.

Idle 0

The Compute Node is not currently running a Task.

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.

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).

Starting 6

The Batch service is starting on the underlying virtual machine.

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.

Unusable 4

The Compute Node cannot be used for Task execution due to errors.

UpgradingOS 13

The Compute Node is undergoing an OS upgrade operation.

WaitingForStartTask 7

The StartTask has started running on the Compute Node, but waitForSuccess is set and the StartTask has not yet completed.

Applies to