JobPatchParameter Constructors
Definition
Important
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.
Overloads
JobPatchParameter() |
Initializes a new instance of the JobPatchParameter class. |
JobPatchParameter(Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<OnAllTasksComplete>, JobConstraints, PoolInformation, JobNetworkConfiguration, IList<MetadataItem>) |
Initializes a new instance of the JobPatchParameter class. |
JobPatchParameter()
- Source:
- JobPatchParameter.cs
Initializes a new instance of the JobPatchParameter class.
public JobPatchParameter ();
Public Sub New ()
Applies to
JobPatchParameter(Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<OnAllTasksComplete>, JobConstraints, PoolInformation, JobNetworkConfiguration, IList<MetadataItem>)
- Source:
- JobPatchParameter.cs
Initializes a new instance of the JobPatchParameter class.
public JobPatchParameter (int? priority = default, int? maxParallelTasks = default, bool? allowTaskPreemption = default, Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete? onAllTasksComplete = default, Microsoft.Azure.Batch.Protocol.Models.JobConstraints constraints = default, Microsoft.Azure.Batch.Protocol.Models.PoolInformation poolInfo = default, Microsoft.Azure.Batch.Protocol.Models.JobNetworkConfiguration networkConfiguration = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> metadata = default);
new Microsoft.Azure.Batch.Protocol.Models.JobPatchParameter : Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<Microsoft.Azure.Batch.Protocol.Models.OnAllTasksComplete> * Microsoft.Azure.Batch.Protocol.Models.JobConstraints * Microsoft.Azure.Batch.Protocol.Models.PoolInformation * Microsoft.Azure.Batch.Protocol.Models.JobNetworkConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> -> Microsoft.Azure.Batch.Protocol.Models.JobPatchParameter
Public Sub New (Optional priority As Nullable(Of Integer) = Nothing, Optional maxParallelTasks As Nullable(Of Integer) = Nothing, Optional allowTaskPreemption As Nullable(Of Boolean) = Nothing, Optional onAllTasksComplete As Nullable(Of OnAllTasksComplete) = Nothing, Optional constraints As JobConstraints = Nothing, Optional poolInfo As PoolInformation = Nothing, Optional networkConfiguration As JobNetworkConfiguration = Nothing, Optional metadata As IList(Of MetadataItem) = Nothing)
Parameters
The maximum number of tasks that can be executed in parallel for the job.
Whether Tasks in this job can be preempted by other high priority jobs
- onAllTasksComplete
- Nullable<OnAllTasksComplete>
The action the Batch service should take when all Tasks in the Job are in the completed state.
- constraints
- JobConstraints
The execution constraints for the Job.
- poolInfo
- PoolInformation
The Pool on which the Batch service runs the Job's Tasks.
- networkConfiguration
- JobNetworkConfiguration
The network configuration for the Job.
- metadata
- IList<MetadataItem>
A list of name-value pairs associated with the Job as metadata.