Dela via


DockerBuildRequest Class

Definition

The parameters for a docker quick build.

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

Constructors

DockerBuildRequest()

Initializes a new instance of the DockerBuildRequest class.

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

Initializes a new instance of the DockerBuildRequest class.

Properties

AgentConfiguration

Gets or sets the machine configuration of the run agent.

Arguments

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

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 RunRequestInner)
IsPushEnabled

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

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 repoistory. If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.

Timeout

Gets or sets run timeout in seconds.

Methods

Validate()

Validate the object.

Applies to