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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應