JobPatchParameter.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 left unchanged. 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 with an 'invalid property value' error response; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). Possible values include: 'noAction', 'terminateJob'
Applies to
Azure SDK for .NET