Compartilhar via


PSTaskContainerSettings Constructors

Definition

Overloads

PSTaskContainerSettings(String, String, PSContainerRegistry)
PSTaskContainerSettings(String, String, PSContainerRegistry, Nullable<ContainerWorkingDirectory>)

PSTaskContainerSettings(String, String, PSContainerRegistry)

public PSTaskContainerSettings (string imageName, string containerRunOptions = default, Microsoft.Azure.Commands.Batch.Models.PSContainerRegistry registry = default);
new Microsoft.Azure.Commands.Batch.Models.PSTaskContainerSettings : string * string * Microsoft.Azure.Commands.Batch.Models.PSContainerRegistry -> Microsoft.Azure.Commands.Batch.Models.PSTaskContainerSettings
Public Sub New (imageName As String, Optional containerRunOptions As String = Nothing, Optional registry As PSContainerRegistry = Nothing)

Parameters

imageName
String
containerRunOptions
String

Applies to

PSTaskContainerSettings(String, String, PSContainerRegistry, Nullable<ContainerWorkingDirectory>)

public PSTaskContainerSettings (string imageName, string containerRunOptions = default, Microsoft.Azure.Commands.Batch.Models.PSContainerRegistry registry = default, Microsoft.Azure.Batch.Common.ContainerWorkingDirectory? workingDirectory = default);
new Microsoft.Azure.Commands.Batch.Models.PSTaskContainerSettings : string * string * Microsoft.Azure.Commands.Batch.Models.PSContainerRegistry * Nullable<Microsoft.Azure.Batch.Common.ContainerWorkingDirectory> -> Microsoft.Azure.Commands.Batch.Models.PSTaskContainerSettings
Public Sub New (imageName As String, Optional containerRunOptions As String = Nothing, Optional registry As PSContainerRegistry = Nothing, Optional workingDirectory As Nullable(Of ContainerWorkingDirectory) = Nothing)

Parameters

imageName
String
containerRunOptions
String

Applies to