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 the jobs to be created on a schedule.
public class JobSpecification
type JobSpecification = class
Public Class JobSpecification
Initializes a new instance of the JobSpecification class.
Gets or sets a list of common environment variable settings. These environment variables are set for all tasks in jobs created under this schedule (including the Job Manager, Job Preparation and Job Release tasks).
Gets or sets the execution constraints for jobs created under this schedule.
Gets or sets the display name for jobs created under this schedule.
Gets or sets the details of a Job Manager task to be launched when a job is started under this schedule.
Gets or sets the Job Preparation task for jobs created under this schedule.
Gets or sets the Job Release task for jobs created under this schedule.
Gets or sets a list of name-value pairs associated with each job created under this schedule as metadata.
Gets or sets the action the Batch service should take when all tasks in a job created under this schedule are in the completed state.
Gets or sets the action the Batch service should take when any task fails in a job created under this schedule. A task is considered to have failed if it have failed if has a failureInfo. A failureInfo is set if the task completes with a non-zero exit code after exhausting its retry count, or if there was an error starting the task, for example due to a resource file download error.
Gets or sets the pool on which the Batch service runs the tasks of jobs created under this schedule.
Gets or sets the priority of jobs created under this schedule.
Gets or sets whether tasks in the job can define dependencies on each other. The default is false.