BatchTaskContainerSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Azure SDK for .NET