JobUpdateParameter.OnAllTasksComplete Property

Definition

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 Nullable<Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete> OnAllTasksComplete { get; set; }
member this.OnAllTasksComplete : Nullable<Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete> with get, set
Public Property OnAllTasksComplete As Nullable(Of OnAllTasksComplete)

Property Value

System.Nullable<OnAllTasksComplete>
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'

Applies to