Dela via


JobSpecification Class

Definition

public class JobSpecification
type JobSpecification = class
Public Class JobSpecification
Inheritance
JobSpecification

Constructors

JobSpecification()

Initializes a new instance of the JobSpecification class.

JobSpecification(PoolInformation)

Initializes a new instance of the JobSpecification class.

Properties

AllowTaskPreemption

Gets or sets whether Tasks in this job can be preempted by other high priority jobs.

CommonEnvironmentSettings

Gets or sets a list of common environment variable settings.

Constraints

Gets or sets the execution constraints for jobs created via this JobSpecification.

DisplayName

Gets or sets a display name for all jobs created via this JobSpecification.

JobManagerTask

Gets or sets details of a Job Manager task to be launched when a job is created via this JobSpecification.

JobPreparationTask

Gets or sets the Job Preparation task for jobs created via this JobSpecification.

JobReleaseTask

Gets or sets the Job Release task for jobs created via this JobSpecification.

MaxParallelTasks

Gets or sets the maximum number of tasks that can be executed in parallel for the job.

Metadata

Gets or sets a list of name-value pairs associated with jobs created via this JobSpecification as metadata.

NetworkConfiguration

Gets or sets the network configuration for the job.

OnAllTasksComplete

Gets or sets the action the Batch service should take when all tasks in the job are in the Completed state.

OnTaskFailure

Gets or sets the action the Batch service should take when any task in the job fails.

PoolInformation

Gets or sets the pool on which the Batch service runs the tasks of jobs created via this JobSpecification.

Priority

Gets or sets the priority of jobs created via this JobSpecification.

UsesTaskDependencies

Gets or sets whether tasks in jobs created under this CloudJobSchedule can define dependencies on each other.

Applies to