你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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