Delen via


ContainerConfiguration Class

Definition

The configuration for container-enabled Pools.

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

Constructors

ContainerConfiguration(ContainerType)

Initializes a new instance of ContainerConfiguration.

Properties

ContainerImageNames

The collection of container Image names. This is the full Image reference, as would be specified to "docker pull". An Image will be sourced from the default Docker registry unless the Image is fully qualified with an alternative registry.

ContainerRegistries

Additional private registries from which containers can be pulled. If any Images must be downloaded from a private registry which requires credentials, then those credentials must be provided here.

Type

The container technology to be used.

Explicit Interface Implementations

IJsonModel<ContainerConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to