Sdílet prostřednictvím


TaskContainerSettings Class

Definition

The container settings for a Task.

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

Constructors

TaskContainerSettings()

Initializes a new instance of the TaskContainerSettings class.

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

Initializes a new instance of the TaskContainerSettings class.

Properties

ContainerHostBatchBindMounts

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

ContainerRunOptions

Gets or sets additional options to the container create command.

ImageName

Gets or sets the Image to use to create the container in which the Task will run.

Registry

Gets or sets the private registry which contains the container Image.

WorkingDirectory

Gets or sets the location of the container Task working directory.

Applies to