ExitOptions.JobAction 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 an action to take on the Job containing the Task, if the Task completes with the given exit condition and the Job's onTaskFailed property is 'performExitOptionsJobAction'.
[Newtonsoft.Json.JsonProperty(PropertyName="jobAction")]
public Microsoft.Azure.Batch.Protocol.Models.JobAction? JobAction { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="jobAction")>]
member this.JobAction : Nullable<Microsoft.Azure.Batch.Protocol.Models.JobAction> with get, set
Public Property JobAction As Nullable(Of JobAction)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
The default is none for exit code 0 and terminate for all other exit conditions. If the Job's onTaskFailed property is noaction, then specifying this property returns an error and the add Task request fails with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). Possible values include: 'none', 'disable', 'terminate'
Applies to
Azure SDK for .NET