JobPreparationTask.RerunOnComputeNodeRebootAfterSuccess 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 whether the Batch service should rerun the Job Preparation task after a compute node reboots.
public bool? RerunOnComputeNodeRebootAfterSuccess { get; set; }
member this.RerunOnComputeNodeRebootAfterSuccess : Nullable<bool> with get, set
Public Property RerunOnComputeNodeRebootAfterSuccess As Nullable(Of Boolean)
Property Value
Remarks
The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. If this property is not specified, a default value of true is assigned by the Batch service.
Applies to
Azure SDK for .NET