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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應