다음을 통해 공유


BatchTaskContainerSettings Class

Definition

The container settings for a task.

public class BatchTaskContainerSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Batch.Models.BatchTaskContainerSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Batch.Models.BatchTaskContainerSettings>
public class BatchTaskContainerSettings
type BatchTaskContainerSettings = class
    interface IJsonModel<BatchTaskContainerSettings>
    interface IPersistableModel<BatchTaskContainerSettings>
type BatchTaskContainerSettings = class
Public Class BatchTaskContainerSettings
Implements IJsonModel(Of BatchTaskContainerSettings), IPersistableModel(Of BatchTaskContainerSettings)
Public Class BatchTaskContainerSettings
Inheritance
BatchTaskContainerSettings
Implements

Constructors

BatchTaskContainerSettings(String)

Initializes a new instance of BatchTaskContainerSettings.

Properties

ContainerHostBatchBindMounts

If this array is null or be not present, container task will mount entire temporary disk drive in windows (or AZ_BATCH_NODE_ROOT_DIR in Linux). It won't' mount any data paths into container if this array is set as empty.

ContainerRunOptions

These additional options are supplied as arguments to the "docker create" command, in addition to those controlled by the Batch Service.

ImageName

This is the full image reference, as would be specified to "docker pull". If no tag is provided as part of the image name, the tag ":latest" is used as a default.

Registry

This setting can be omitted if was already provided at pool creation.

WorkingDirectory

A flag to indicate where the container task working directory is. The default is 'taskWorkingDirectory'.

Explicit Interface Implementations

IJsonModel<BatchTaskContainerSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchTaskContainerSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskContainerSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskContainerSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchTaskContainerSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to