JobUpdateParameter.AllowTaskPreemption Property

Definition

Gets or sets whether Tasks in this job can be preempted by other high priority jobs

[Newtonsoft.Json.JsonProperty(PropertyName="allowTaskPreemption")]
public bool? AllowTaskPreemption { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowTaskPreemption")>]
member this.AllowTaskPreemption : Nullable<bool> with get, set
Public Property AllowTaskPreemption As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If the value is set to True, other high priority jobs submitted to the system will take precedence and will be able requeue tasks from this job. You can update a job's allowTaskPreemption after it has been created using the update job API.

Applies to