Share via


TaskContainerSettings Class

The container settings for a task.

Constructor

TaskContainerSettings(*args: Any, **kwargs: Any)

Variables

Name Description
container_run_options
str

Additional options to the container create command.

image_name
str

The image to use to create the container in which the task will run. Required.

registry

The private registry which contains the container image.

working_directory

A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'. Known values are: "TaskWorkingDirectory" and "ContainerImageDefault".

container_host_batch_bind_mounts

The paths you want to mounted to container task.

Attributes

container_host_batch_bind_mounts

The paths you want to mounted to container task.

container_host_batch_bind_mounts: list['_models.ContainerHostBatchBindMountEntry'] | None

container_run_options

Additional options to the container create command.

container_run_options: str | None

image_name

The image to use to create the container in which the task will run. Required.

image_name: str

registry

The private registry which contains the container image.

registry: _models.ContainerRegistry | None

working_directory

A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'. Known values are: "TaskWorkingDirectory" and "ContainerImageDefault".

working_directory: str | _models.ContainerWorkingDirectory | None