Condividi tramite


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 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'

Applies to