Share via


BatchJobSpecification.OnAllTasksComplete Property

Definition

The action the Batch service should take when all Tasks in a Job created under this schedule are in the completed state. Note that if a Job contains no Tasks, then all Tasks are considered complete. This option is therefore most commonly used with a Job Manager task; if you want to use automatic Job termination without a Job Manager, you should initially set onAllTasksComplete to noaction and update the Job properties to set onAllTasksComplete to terminatejob once you have finished adding Tasks. The default is noaction.

public Azure.Compute.Batch.OnAllBatchTasksComplete? OnAllTasksComplete { get; set; }
member this.OnAllTasksComplete : Nullable<Azure.Compute.Batch.OnAllBatchTasksComplete> with get, set
Public Property OnAllTasksComplete As Nullable(Of OnAllBatchTasksComplete)

Property Value

Applies to