Share via


TaskUpdateParameter.Constraints Property

Definition

Gets or sets constraints that apply to this Task.

[Newtonsoft.Json.JsonProperty(PropertyName="constraints")]
public Microsoft.Azure.Batch.Protocol.Models.TaskConstraints Constraints { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="constraints")>]
member this.Constraints : Microsoft.Azure.Batch.Protocol.Models.TaskConstraints with get, set
Public Property Constraints As TaskConstraints

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If omitted, the Task is given the default constraints. For multi-instance Tasks, updating the retention time applies only to the primary Task and not subtasks.

Applies to