共用方式為


PoolAddParameter.StartTask Property

Definition

Gets or sets a Task specified to run on each Compute Node as it joins the Pool.

[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

The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted.

Applies to