Share via


TaskAddParameter.AffinityInfo Property

Definition

Gets or sets a locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to