CloudJob.PreviousState Property

Definition

Gets or sets the previous state of the Job.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This property is not set if the Job is in its initial Active state. Possible values include: 'active', 'disabling', 'disabled', 'enabling', 'terminating', 'completed', 'deleting'

Applies to