BatchTaskContainerSettings(String) Constructor
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET