PoolStartTaskContainerArgs

data class PoolStartTaskContainerArgs(val imageName: Output<String>, val registries: Output<List<PoolStartTaskContainerRegistryArgs>>? = null, val runOptions: Output<String>? = null, val workingDirectory: Output<String>? = null) : ConvertibleToJava<PoolStartTaskContainerArgs>

Constructors

Link copied to clipboard
constructor(imageName: Output<String>, registries: Output<List<PoolStartTaskContainerRegistryArgs>>? = null, runOptions: Output<String>? = null, workingDirectory: Output<String>? = null)

Properties

Link copied to clipboard
val imageName: Output<String>

The image to use to create the container in which the task will run. This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.

Link copied to clipboard

The container_registries block defined as below.

Link copied to clipboard
val runOptions: Output<String>? = null

Additional options to the container create command. These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.

Link copied to clipboard
val workingDirectory: Output<String>? = null

A flag to indicate where the container task working directory is. Possible values are TaskWorkingDirectory and ContainerImageDefault.

Functions

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