Share via


PoolUpdatePropertiesParameter.StartTask Property

Definition

Gets or sets a Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is removed from the Pool.

Applies to