Share via


NewTaskParameters Class

Definition

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

Constructors

NewTaskParameters(BatchAccountContext, String, PSCloudJob, String, IEnumerable<BatchClientBehavior>)

Properties

AdditionalBehaviors

Additional client behaviors to perform

(Inherited from BatchClientParametersBase)
AffinityInformation

The affinity information for the task.

ApplicationPackageReferences

A list of application packages that the Batch service will deploy to the compute node before running the command line.

AuthenticationTokenSettings

The settings for an authentication token that the task can use to perform Batch service operations.

CommandLine

The command the task will execute.

Constraints

The task constraints.

ContainerSettings

The task container settings

Context

The account details

(Inherited from BatchClientParametersBase)
DependsOn

Tasks that this task depends on. The task will not be scheduled until all depended-on tasks have completed successfully.

DisplayName

The display name of the task to create.

EnvironmentSettings

Environment settings to add to the new task.

ExitConditions

How the Batch service should respond when the task completes.

Job

The PSCloudJob object representing the target job.

(Inherited from JobOperationParameters)
JobId

The id of the job.

(Inherited from JobOperationParameters)
MultiInstanceSettings

Information about how to run the multi-instance task.

OutputFiles

The output file details

ResourceFiles

Resource files to add to the new task.

TaskId

The id of the task to create.

UserIdentity

The user identity under which the task runs.

Applies to