TaskContainerSettings 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 the TaskContainerSettings class.
public TaskContainerSettings (string imageName, string containerRunOptions = default, Microsoft.Azure.Batch.ContainerRegistry registry = default, Microsoft.Azure.Batch.Common.ContainerWorkingDirectory? workingDirectory = default);
new Microsoft.Azure.Batch.TaskContainerSettings : string * string * Microsoft.Azure.Batch.ContainerRegistry * Nullable<Microsoft.Azure.Batch.Common.ContainerWorkingDirectory> -> Microsoft.Azure.Batch.TaskContainerSettings
Public Sub New (imageName As String, Optional containerRunOptions As String = Nothing, Optional registry As ContainerRegistry = Nothing, Optional workingDirectory As Nullable(Of ContainerWorkingDirectory) = Nothing)
Parameters
- imageName
- String
The image to use to create the container in which the task will run.
- containerRunOptions
- String
Additional options to the container create command.
- registry
- ContainerRegistry
The private registry which contains the container image.
- workingDirectory
- Nullable<ContainerWorkingDirectory>
The location of the container task working directory.
Applies to
Feedback
Submit and view feedback for