Share via


TaskContainerSettings Class

Definition

The container settings for a task.

public class TaskContainerSettings
type TaskContainerSettings = class
Public Class TaskContainerSettings
Inheritance
TaskContainerSettings

Constructors

TaskContainerSettings()

Default constructor to support mocking the TaskContainerSettings class.

TaskContainerSettings(String, String, ContainerRegistry, Nullable<ContainerWorkingDirectory>, IList<ContainerHostBatchBindMountEntry>)

Initializes a new instance of the TaskContainerSettings class.

Properties

ContainerHostBatchBindMounts

Gets or sets gets or sets the paths you want to mounted to container task.

ContainerRunOptions

Gets additional options to the container create command.

ImageName

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

Registry

Gets the private registry which contains the container image.

WorkingDirectory

Gets the location of the container task working directory.

Applies to