ComputeNode.State Property
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.
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
Azure SDK for .NET