PoolStartTaskArgs

data class PoolStartTaskArgs(val commandLine: Output<String>, val commonEnvironmentProperties: Output<Map<String, String>>? = null, val containers: Output<List<PoolStartTaskContainerArgs>>? = null, val resourceFiles: Output<List<PoolStartTaskResourceFileArgs>>? = null, val taskRetryMaximum: Output<Int>? = null, val userIdentity: Output<PoolStartTaskUserIdentityArgs>, val waitForSuccess: Output<Boolean>? = null) : ConvertibleToJava<PoolStartTaskArgs>

Constructors

Link copied to clipboard
constructor(commandLine: Output<String>, commonEnvironmentProperties: Output<Map<String, String>>? = null, containers: Output<List<PoolStartTaskContainerArgs>>? = null, resourceFiles: Output<List<PoolStartTaskResourceFileArgs>>? = null, taskRetryMaximum: Output<Int>? = null, userIdentity: Output<PoolStartTaskUserIdentityArgs>, waitForSuccess: Output<Boolean>? = null)

Properties

Link copied to clipboard
val commandLine: Output<String>

The command line executed by the start task.

Link copied to clipboard

A map of strings (key,value) that represents the environment variables to set in the start task.

Link copied to clipboard

A container block is the settings for the container under which the start task runs as defined below. 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.

Link copied to clipboard

One or more resource_file blocks that describe the files to be downloaded to a compute node as defined below.

Link copied to clipboard
val taskRetryMaximum: Output<Int>? = null

The number of retry count.

Link copied to clipboard

A user_identity block that describes the user identity under which the start task runs as defined below.

Link copied to clipboard
val waitForSuccess: Output<Boolean>? = null

A flag that indicates if the Batch pool should wait for the start task to be completed. Default to false.

Functions

Link copied to clipboard
open override fun toJava(): PoolStartTaskArgs