JobUpdateParameter Constructors

Definition

Overloads

JobUpdateParameter()

Initializes a new instance of the JobUpdateParameter class.

JobUpdateParameter(PoolInformation, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, JobConstraints, IList<MetadataItem>, Nullable<OnAllTasksComplete>)

Initializes a new instance of the JobUpdateParameter class.

JobUpdateParameter()

Source:
JobUpdateParameter.cs

Initializes a new instance of the JobUpdateParameter class.

public JobUpdateParameter ();
Public Sub New ()

Applies to

JobUpdateParameter(PoolInformation, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, JobConstraints, IList<MetadataItem>, Nullable<OnAllTasksComplete>)

Source:
JobUpdateParameter.cs

Initializes a new instance of the JobUpdateParameter class.

public JobUpdateParameter (Microsoft.Azure.Batch.Protocol.Models.PoolInformation poolInfo, int? priority = default, int? maxParallelTasks = default, bool? allowTaskPreemption = default, Microsoft.Azure.Batch.Protocol.Models.JobConstraints constraints = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> metadata = default, Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete? onAllTasksComplete = default);
new Microsoft.Azure.Batch.Protocol.Models.JobUpdateParameter : Microsoft.Azure.Batch.Protocol.Models.PoolInformation * Nullable<int> * Nullable<int> * Nullable<bool> * Microsoft.Azure.Batch.Protocol.Models.JobConstraints * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> * Nullable<Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete> -> Microsoft.Azure.Batch.Protocol.Models.JobUpdateParameter
Public Sub New (poolInfo As PoolInformation, Optional priority As Nullable(Of Integer) = Nothing, Optional maxParallelTasks As Nullable(Of Integer) = Nothing, Optional allowTaskPreemption As Nullable(Of Boolean) = Nothing, Optional constraints As JobConstraints = Nothing, Optional metadata As IList(Of MetadataItem) = Nothing, Optional onAllTasksComplete As Nullable(Of OnAllTasksComplete) = Nothing)

Parameters

poolInfo
PoolInformation

The Pool on which the Batch service runs the Job's Tasks.

priority
Nullable<Int32>

The priority of the Job.

maxParallelTasks
Nullable<Int32>

The maximum number of tasks that can be executed in parallel for the job.

allowTaskPreemption
Nullable<Boolean>

Whether Tasks in this job can be preempted by other high priority jobs

constraints
JobConstraints

The execution constraints for the Job.

metadata
IList<MetadataItem>

A list of name-value pairs associated with the Job as metadata.

onAllTasksComplete
Nullable<OnAllTasksComplete>

The action the Batch service should take when all Tasks in the Job are in the completed state.

Applies to