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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for .NET