Dela via


BatchStartTask.ContainerSettings Property

Definition

The settings for the container under which the StartTask runs. 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. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.

public Azure.Compute.Batch.BatchTaskContainerSettings ContainerSettings { get; set; }
member this.ContainerSettings : Azure.Compute.Batch.BatchTaskContainerSettings with get, set
Public Property ContainerSettings As BatchTaskContainerSettings

Property Value

Applies to