Share via


BatchTaskContainerSettings(String) Constructor

Definition

Initializes a new instance of BatchTaskContainerSettings.

public BatchTaskContainerSettings (string imageName);
new Azure.Compute.Batch.BatchTaskContainerSettings : string -> Azure.Compute.Batch.BatchTaskContainerSettings
Public Sub New (imageName As String)

Parameters

imageName
String

The Image to use to create the container in which the Task will run. 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.

Exceptions

imageName is null.

Applies to