JobPreparationTask.withContainerSettings(TaskContainerSettings containerSettings) 方法
定义
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.
public JobPreparationTask withContainerSettings(TaskContainerSettings containerSettings)
参数
- containerSettings
- TaskContainerSettings
the containerSettings value to set
返回
the JobPreparationTask object itself.