Share via


JobManagerTask.RequiredSlots Property

Definition

Gets or sets the number of scheduling slots that the Task requires to run.

[Newtonsoft.Json.JsonProperty(PropertyName="requiredSlots")]
public int? RequiredSlots { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="requiredSlots")>]
member this.RequiredSlots : Nullable<int> with get, set
Public Property RequiredSlots As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The default is 1. A Task can only be scheduled to run on a compute node if the node has enough free scheduling slots available. For multi-instance Tasks, this property is not supported and must not be specified.

Applies to