TaskContainerSettings Constructors
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.
Overloads
TaskContainerSettings() |
Initializes a new instance of the TaskContainerSettings class. |
TaskContainerSettings(String, String, ContainerRegistry, Nullable<ContainerWorkingDirectory>) |
Initializes a new instance of the TaskContainerSettings class. |
TaskContainerSettings()
- Source:
- TaskContainerSettings.cs
Initializes a new instance of the TaskContainerSettings class.
public TaskContainerSettings ();
Public Sub New ()
Applies to
TaskContainerSettings(String, String, ContainerRegistry, Nullable<ContainerWorkingDirectory>)
- Source:
- TaskContainerSettings.cs
Initializes a new instance of the TaskContainerSettings class.
public TaskContainerSettings (string imageName, string containerRunOptions = default, Microsoft.Azure.Batch.Protocol.Models.ContainerRegistry registry = default, Microsoft.Azure.Batch.Protocol.Models.ContainerWorkingDirectory? workingDirectory = default);
new Microsoft.Azure.Batch.Protocol.Models.TaskContainerSettings : string * string * Microsoft.Azure.Batch.Protocol.Models.ContainerRegistry * Nullable<Microsoft.Azure.Batch.Protocol.Models.ContainerWorkingDirectory> -> Microsoft.Azure.Batch.Protocol.Models.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
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk