Share via


DockerBuildRequest Class

Definition

The parameters for a docker quick build.

public class DockerBuildRequest : Microsoft.Azure.Management.ContainerRegistry.Models.RunRequest
type DockerBuildRequest = class
    inherit RunRequest
Public Class DockerBuildRequest
Inherits RunRequest
Inheritance
DockerBuildRequest

Constructors

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.

Properties

AgentConfiguration

Gets or sets the machine configuration of the run agent.

AgentPoolName

Gets or sets the dedicated agent pool for the run.

(Inherited from RunRequest)
Arguments

Gets or sets the collection of override arguments to be used when executing the run.

Credentials

Gets or sets the properties that describes a set of credentials that will be used when this run is invoked.

DockerFilePath

Gets or sets the Docker file path relative to the source location.

ImageNames

Gets or sets the fully qualified image names including the repository and tag.

IsArchiveEnabled

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

(Inherited from RunRequest)
IsPushEnabled

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

LogTemplate

Gets or sets the template that describes the repository and tag information for run log artifact.

(Inherited from RunRequest)
NoCache

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

Platform

Gets or sets the platform properties against which the run has to happen.

SourceLocation

Gets or sets 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.

Target

Gets or sets the name of the target build stage for the docker build.

Timeout

Gets or sets run timeout in seconds.

Methods

Validate()

Validate the object.

Applies to