CloudTask.RequiredSlots Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 must be 1.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.