ComputeNode.AffinityId 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 an identifier which can be passed when adding a Task to request that the Task be scheduled on this Compute Node.
[Newtonsoft.Json.JsonProperty(PropertyName="affinityId")]
public string AffinityId { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="affinityId")>]
member this.AffinityId : string with get, set
Public Property AffinityId As String
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere.