Manager Task Class
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.
Specifies details of a Job Manager task.
public class JobManagerTask
type JobManagerTask = class
Public Class JobManagerTask
The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job.
Initializes a new instance of the JobManagerTask class.
Gets or sets whether the Job Manager task may run on a low-priority compute node.
Gets or sets a list of application packages that the Batch service will deploy to the compute node before running the command line.
Gets or sets the settings for an authentication token that the task can use to perform Batch service operations.
Gets or sets the command line of the Job Manager task.
Gets or sets constraints that apply to the Job Manager task.
Gets or sets the settings for the container under which the Job Manager task runs.
Gets or sets the display name of the Job Manager task.
Gets or sets a list of environment variable settings for the Job Manager task.
Gets or sets a string that uniquely identifies the Job Manager task within the job.
Gets or sets whether completion of the Job Manager task signifies completion of the entire job.
Gets or sets a list of files that the Batch service will upload from the compute node after running the command line.
Gets or sets a list of files that the Batch service will download to the compute node before running the command line.
Gets or sets whether the Job Manager task requires exclusive use of the compute node where it runs.
Gets or sets the user identity under which the Job Manager task runs.