TaskAddParameter.Constraints Property

Definition

Gets or sets the execution 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

TaskConstraints
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If you do not specify constraints, the maxTaskRetryCount is the maxTaskRetryCount specified for the Job, the maxWallClockTime is infinite, and the retentionTime is 7 days.

Applies to