JobConstraints.MaxWallClockTime Property

Definition

Gets or sets the maximum elapsed time that the job may run, measured from the time the job is created.

[Newtonsoft.Json.JsonProperty(PropertyName="maxWallClockTime")]
public Nullable<TimeSpan> MaxWallClockTime { get; set; }
member this.MaxWallClockTime : Nullable<TimeSpan> with get, set
Public Property MaxWallClockTime As Nullable(Of TimeSpan)

Property Value

System.Nullable<System.TimeSpan>
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If the job does not complete within the time limit, the Batch service terminates it and any tasks that are still running. In this case, the termination reason will be MaxWallClockTimeExpiry. If this property is not specified, there is no time limit on how long the job may run.

Applies to