TaskAddParameter.ContainerSettings Property

Definition

Gets or sets the settings for the container under which the task runs.

[Newtonsoft.Json.JsonProperty(PropertyName="containerSettings")]
public Microsoft.Azure.Batch.Protocol.Models.TaskContainerSettings ContainerSettings { get; set; }
member this.ContainerSettings : Microsoft.Azure.Batch.Protocol.Models.TaskContainerSettings with get, set
Public Property ContainerSettings As TaskContainerSettings

Property Value

TaskContainerSettings
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If the pool that will run this task has containerConfiguration set, this must be set as well. If the pool that will run this task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all task environment variables are mapped into the container, and the task command line is executed in the container.

Applies to