TaskAddParameter 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
TaskAddParameter() |
Initializes a new instance of the TaskAddParameter class. |
TaskAddParameter(String, String, String, TaskContainerSettings, ExitConditions, IList<ResourceFile>, IList<OutputFile>, IList<EnvironmentSetting>, AffinityInformation, TaskConstraints, Nullable<Int32>, UserIdentity, MultiInstanceSettings, TaskDependencies, IList<ApplicationPackageReference>, AuthenticationTokenSettings) |
Initializes a new instance of the TaskAddParameter class. |
TaskAddParameter()
- Source:
- TaskAddParameter.cs
Initializes a new instance of the TaskAddParameter class.
public TaskAddParameter ();
Public Sub New ()
Applies to
TaskAddParameter(String, String, String, TaskContainerSettings, ExitConditions, IList<ResourceFile>, IList<OutputFile>, IList<EnvironmentSetting>, AffinityInformation, TaskConstraints, Nullable<Int32>, UserIdentity, MultiInstanceSettings, TaskDependencies, IList<ApplicationPackageReference>, AuthenticationTokenSettings)
- Source:
- TaskAddParameter.cs
Initializes a new instance of the TaskAddParameter class.
public TaskAddParameter (string id, string commandLine, string displayName = default, Microsoft.Azure.Batch.Protocol.Models.TaskContainerSettings containerSettings = default, Microsoft.Azure.Batch.Protocol.Models.ExitConditions exitConditions = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ResourceFile> resourceFiles = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.OutputFile> outputFiles = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.EnvironmentSetting> environmentSettings = default, Microsoft.Azure.Batch.Protocol.Models.AffinityInformation affinityInfo = default, Microsoft.Azure.Batch.Protocol.Models.TaskConstraints constraints = default, int? requiredSlots = default, Microsoft.Azure.Batch.Protocol.Models.UserIdentity userIdentity = default, Microsoft.Azure.Batch.Protocol.Models.MultiInstanceSettings multiInstanceSettings = default, Microsoft.Azure.Batch.Protocol.Models.TaskDependencies dependsOn = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ApplicationPackageReference> applicationPackageReferences = default, Microsoft.Azure.Batch.Protocol.Models.AuthenticationTokenSettings authenticationTokenSettings = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskAddParameter : string * string * string * Microsoft.Azure.Batch.Protocol.Models.TaskContainerSettings * Microsoft.Azure.Batch.Protocol.Models.ExitConditions * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ResourceFile> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.OutputFile> * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.EnvironmentSetting> * Microsoft.Azure.Batch.Protocol.Models.AffinityInformation * Microsoft.Azure.Batch.Protocol.Models.TaskConstraints * Nullable<int> * Microsoft.Azure.Batch.Protocol.Models.UserIdentity * Microsoft.Azure.Batch.Protocol.Models.MultiInstanceSettings * Microsoft.Azure.Batch.Protocol.Models.TaskDependencies * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ApplicationPackageReference> * Microsoft.Azure.Batch.Protocol.Models.AuthenticationTokenSettings -> Microsoft.Azure.Batch.Protocol.Models.TaskAddParameter
Public Sub New (id As String, commandLine As String, Optional displayName As String = Nothing, Optional containerSettings As TaskContainerSettings = Nothing, Optional exitConditions As ExitConditions = Nothing, Optional resourceFiles As IList(Of ResourceFile) = Nothing, Optional outputFiles As IList(Of OutputFile) = Nothing, Optional environmentSettings As IList(Of EnvironmentSetting) = Nothing, Optional affinityInfo As AffinityInformation = Nothing, Optional constraints As TaskConstraints = Nothing, Optional requiredSlots As Nullable(Of Integer) = Nothing, Optional userIdentity As UserIdentity = Nothing, Optional multiInstanceSettings As MultiInstanceSettings = Nothing, Optional dependsOn As TaskDependencies = Nothing, Optional applicationPackageReferences As IList(Of ApplicationPackageReference) = Nothing, Optional authenticationTokenSettings As AuthenticationTokenSettings = Nothing)
Parameters
- id
- String
A string that uniquely identifies the Task within the Job.
- commandLine
- String
The command line of the Task.
- displayName
- String
A display name for the Task.
- containerSettings
- TaskContainerSettings
The settings for the container under which the Task runs.
- exitConditions
- ExitConditions
How the Batch service should respond when the Task completes.
- resourceFiles
- IList<ResourceFile>
A list of files that the Batch service will download to the Compute Node before running the command line.
- outputFiles
- IList<OutputFile>
A list of files that the Batch service will upload from the Compute Node after running the command line.
- environmentSettings
- IList<EnvironmentSetting>
A list of environment variable settings for the Task.
- affinityInfo
- AffinityInformation
A locality hint that can be used by the Batch service to select a Compute Node on which to start the new Task.
- constraints
- TaskConstraints
The execution constraints that apply to this Task.
- userIdentity
- UserIdentity
The user identity under which the Task runs.
- multiInstanceSettings
- MultiInstanceSettings
An object that indicates that the Task is a multi-instance Task, and contains information about how to run the multi-instance Task.
- dependsOn
- TaskDependencies
The Tasks that this Task depends on.
- applicationPackageReferences
- IList<ApplicationPackageReference>
A list of Packages that the Batch service will deploy to the Compute Node before running the command line.
- authenticationTokenSettings
- AuthenticationTokenSettings
The settings for an authentication token that the Task can use to perform Batch service operations.
Applies to
Azure SDK for .NET