Uses of Class
com.microsoft.azure.management.batch.StartTask
Package
Description
This package contains the classes for BatchManagementClient.
-
Uses of StartTask in com.microsoft.azure.management.batch
Modifier and TypeMethodDescriptionPool.startTask()
StartTask.withCommandLine
(String commandLine) Set the command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion.StartTask.withContainerSettings
(TaskContainerSettings containerSettings) Set when this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.StartTask.withEnvironmentSettings
(List<EnvironmentSetting> environmentSettings) Set the environmentSettings value.StartTask.withMaxTaskRetryCount
(Integer maxTaskRetryCount) Set the Batch service retries a task if its exit code is nonzero.StartTask.withResourceFiles
(List<ResourceFile> resourceFiles) Set the resourceFiles value.StartTask.withUserIdentity
(UserIdentity userIdentity) Set if omitted, the task runs as a non-administrative user unique to the task.StartTask.withWaitForSuccess
(Boolean waitForSuccess) Set if true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount).Modifier and TypeMethodDescriptionPool.DefinitionStages.WithAttach.withStartTask
(StartTask startTask) Specifies the start task for the pool.Pool.UpdateDefinitionStages.WithAttach.withStartTask
(StartTask startTask) Specifies the start task for the pool.Pool.UpdateStages.WithAttach.withStartTask
(StartTask startTask) Specifies the start task for the pool.