DockerBuildRequest Constructors

Definition

Overloads

DockerBuildRequest()

Initializes a new instance of the DockerBuildRequest class.

DockerBuildRequest(String, PlatformProperties, Nullable<Boolean>, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Argument>, Nullable<Int32>, AgentProperties, String, Credentials)

Initializes a new instance of the DockerBuildRequest class.

DockerBuildRequest()

Initializes a new instance of the DockerBuildRequest class.

public DockerBuildRequest ();
Public Sub New ()

Applies to

DockerBuildRequest(String, PlatformProperties, Nullable<Boolean>, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Argument>, Nullable<Int32>, AgentProperties, String, Credentials)

Initializes a new instance of the DockerBuildRequest class.

public DockerBuildRequest (string dockerFilePath, Microsoft.Azure.Management.ContainerRegistry.Models.PlatformProperties platform, bool? isArchiveEnabled = default, string agentPoolName = default, string logTemplate = default, System.Collections.Generic.IList<string> imageNames = default, bool? isPushEnabled = default, bool? noCache = default, string target = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.Argument> arguments = default, int? timeout = default, Microsoft.Azure.Management.ContainerRegistry.Models.AgentProperties agentConfiguration = default, string sourceLocation = default, Microsoft.Azure.Management.ContainerRegistry.Models.Credentials credentials = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.DockerBuildRequest : string * Microsoft.Azure.Management.ContainerRegistry.Models.PlatformProperties * Nullable<bool> * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.Argument> * Nullable<int> * Microsoft.Azure.Management.ContainerRegistry.Models.AgentProperties * string * Microsoft.Azure.Management.ContainerRegistry.Models.Credentials -> Microsoft.Azure.Management.ContainerRegistry.Models.DockerBuildRequest
Public Sub New (dockerFilePath As String, platform As PlatformProperties, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional agentPoolName As String = Nothing, Optional logTemplate As String = Nothing, Optional imageNames As IList(Of String) = Nothing, Optional isPushEnabled As Nullable(Of Boolean) = Nothing, Optional noCache As Nullable(Of Boolean) = Nothing, Optional target As String = Nothing, Optional arguments As IList(Of Argument) = Nothing, Optional timeout As Nullable(Of Integer) = Nothing, Optional agentConfiguration As AgentProperties = Nothing, Optional sourceLocation As String = Nothing, Optional credentials As Credentials = Nothing)

Parameters

dockerFilePath
String

The Docker file path relative to the source location.

platform
PlatformProperties

The platform properties against which the run has to happen.

isArchiveEnabled
Nullable<Boolean>

The value that indicates whether archiving is enabled for the run or not.

agentPoolName
String

The dedicated agent pool for the run.

logTemplate
String

The template that describes the repository and tag information for run log artifact.

imageNames
IList<String>

The fully qualified image names including the repository and tag.

isPushEnabled
Nullable<Boolean>

The value of this property indicates whether the image built should be pushed to the registry or not.

noCache
Nullable<Boolean>

The value of this property indicates whether the image cache is enabled or not.

target
String

The name of the target build stage for the docker build.

arguments
IList<Argument>

The collection of override arguments to be used when executing the run.

timeout
Nullable<Int32>

Run timeout in seconds.

agentConfiguration
AgentProperties

The machine configuration of the run agent.

sourceLocation
String

The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

credentials
Credentials

The properties that describes a set of credentials that will be used when this run is invoked.

Applies to