Udostępnij za pośrednictwem


DockerBuildRequest Constructors

Definition

Overloads

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.

DockerBuildRequest()

Initializes a new instance of the DockerBuildRequest class.

public DockerBuildRequest ();
Public Sub New ()

Applies to

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.

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

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.

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.

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

Applies to