StartTask Class

Definition

A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.

public class StartTask
type StartTask = class
    interface ITransportObjectProvider<StartTask>
    interface IPropertyMetadata
    interface IModifiable
    interface IReadOnly
Public Class StartTask
Inheritance
System.Object
StartTask

Constructors

StartTask()
StartTask(String)

Initializes a new instance of the StartTask class.

Properties

CommandLine

Gets or sets the command line of the task.

ContainerSettings

Gets or sets the settings for the container under which the task runs.

EnvironmentSettings

Gets or sets a set of environment settings for the start task.

MaxTaskRetryCount

Gets or sets the maximum number of retries for the task.

ResourceFiles

Gets or sets a list of files that the Batch service will download to the compute node before running the command line.

UserIdentity

Gets or sets the user identity under which the task runs.

WaitForSuccess

Gets or sets a value indicating whether the Batch service should wait for the start task to complete before scheduling any tasks on the compute node.

Applies to