Share via


DockerTaskStep Constructors

Definition

Overloads

DockerTaskStep()

Initializes a new instance of the DockerTaskStep class.

DockerTaskStep(String, IList<BaseImageDependency>, String, String, IList<String>, Boolean, Boolean, IList<Argument>)

Initializes a new instance of the DockerTaskStep class.

DockerTaskStep()

Initializes a new instance of the DockerTaskStep class.

public DockerTaskStep ();
Public Sub New ()

Applies to

DockerTaskStep(String, IList<BaseImageDependency>, String, String, IList<String>, Boolean, Boolean, IList<Argument>)

Initializes a new instance of the DockerTaskStep class.

public DockerTaskStep (string dockerFilePath, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.BaseImageDependency> baseImageDependencies = default, string contextPath = default, string contextAccessToken = default, System.Collections.Generic.IList<string> imageNames = default, bool isPushEnabled = false, bool noCache = false, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.Argument> arguments = default);
new Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.DockerTaskStep : string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.BaseImageDependency> * string * string * System.Collections.Generic.IList<string> * bool * bool * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.Argument> -> Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.DockerTaskStep
Public Sub New (dockerFilePath As String, Optional baseImageDependencies As IList(Of BaseImageDependency) = Nothing, Optional contextPath As String = Nothing, Optional contextAccessToken As String = Nothing, Optional imageNames As IList(Of String) = Nothing, Optional isPushEnabled As Boolean = false, Optional noCache As Boolean = false, Optional arguments As IList(Of Argument) = Nothing)

Parameters

dockerFilePath
String

the The Docker file path relative to the source context

baseImageDependencies
IList<BaseImageDependency>

List of base image dependencies for a step.

contextPath
String

The URL(absolute or relative) of the source context for the task step.

contextAccessToken
String

The token (git PAT or SAS token of storage account blob) associated with the context for a step.

imageNames
IList<String>

the fully qualified image names including the repository and tag

isPushEnabled
Boolean

indicates whether the image built should be pushed to the registry or not

noCache
Boolean

indicates whether the image cache is enabled or not

arguments
IList<Argument>

the collection of override arguments to be used when executing this build step

Applies to