JobUpdateParameter.OnAllTasksComplete 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 action the Batch service should take when all Tasks in the Job are in the completed state.
[Newtonsoft.Json.JsonProperty(PropertyName="onAllTasksComplete")]
public Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete? OnAllTasksComplete { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="onAllTasksComplete")>]
member this.OnAllTasksComplete : Nullable<Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete> with get, set
Public Property OnAllTasksComplete As Nullable(Of OnAllTasksComplete)
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
If omitted, the completion behavior is set to noaction. If the current value is terminatejob, this is an error because a Job's completion behavior may not be changed from terminatejob to noaction. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic Job termination, you cannot turn it off again. If you try to do this, the request fails and Batch returns status code 400 (Bad Request) and an 'invalid property value' error response. If you do not specify this element in a PUT request, it is equivalent to passing noaction. This is an error if the current value is terminatejob. Possible values include: 'noAction', 'terminateJob'