Bagikan melalui


ComputeNode.State Property

Definition

Gets or sets the current state of the Compute Node.

[Newtonsoft.Json.JsonProperty(PropertyName="state")]
public Microsoft.Azure.Batch.Protocol.Models.ComputeNodeState? State { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="state")>]
member this.State : Nullable<Microsoft.Azure.Batch.Protocol.Models.ComputeNodeState> with get, set
Public Property State As Nullable(Of ComputeNodeState)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

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. Possible values include: 'idle', 'rebooting', 'reimaging', 'running', 'unusable', 'creating', 'starting', 'waitingForStartTask', 'startTaskFailed', 'unknown', 'leavingPool', 'offline', 'preempted', 'upgradingOS', 'deallocated', 'deallocating'

Applies to