Share via


NewJobParameters Class

Definition

public class NewJobParameters : Microsoft.Azure.Commands.Batch.Models.BatchClientParametersBase
type NewJobParameters = class
    inherit BatchClientParametersBase
Public Class NewJobParameters
Inherits BatchClientParametersBase
Inheritance

Constructors

NewJobParameters(BatchAccountContext, String, IEnumerable<BatchClientBehavior>)

Properties

AdditionalBehaviors

Additional client behaviors to perform

(Inherited from BatchClientParametersBase)
CommonEnvironmentSettings

The common environment settings that are automatically added to all tasks.

Constraints

The job constraints.

Context

The account details

(Inherited from BatchClientParametersBase)
DisplayName

The display name of the job to create.

JobId

The id of the job to create.

JobManagerTask

The details of the Job Manager task that will be launched whenever a job is started.

JobPreparationTask

The details of the Job Preparation task for the job.

JobReleaseTask

The details of the Job Release task for the job.

Metadata

Metadata to add to the new job.

OnAllTasksComplete

The action the Batch service should take when all tasks in the job are in the completed state.

OnTaskFailure

The action the Batch service should take when any task in the job fails. A task is considered to have failed if it completes with a non-zero exit code and has exhausted its retry count, or if it had a scheduling error.

PoolInformation

The pool information for the job.

Priority

The job priority.

UsesTaskDependencies

Whether tasks in the job can define dependencies on each other.

Applies to