共用方式為


JobAddParameter.JobManagerTask Property

Definition

Gets or sets details of a Job Manager Task to be launched when the Job is started.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If the Job does not specify a Job Manager Task, the user must explicitly add Tasks to the Job. If the Job does specify a Job Manager Task, the Batch service creates the Job Manager Task when the Job is created, and will try to schedule the Job Manager Task before scheduling other Tasks in the Job. The Job Manager Task's typical purpose is to control and/or monitor Job execution, for example by deciding what additional Tasks to run, determining when the work is complete, etc. (However, a Job Manager Task is not restricted to these activities - it is a fully-fledged Task in the system and perform whatever actions are required for the Job.) For example, a Job Manager Task might download a file specified as a parameter, analyze the contents of that file and submit additional Tasks based on those contents.

Applies to