Share via


DockerBuildStep Class

Definition

The Docker build step.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.DockerBuildStepTypeConverter))]
public class DockerBuildStep : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IDockerBuildStep, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.DockerBuildStepTypeConverter))>]
type DockerBuildStep = class
    interface IDockerBuildStep
    interface IJsonSerializable
    interface ITaskStepProperties
    interface IValidates
Public Class DockerBuildStep
Implements IDockerBuildStep, IValidates
Inheritance
DockerBuildStep
Attributes
Implements

Constructors

DockerBuildStep()

Creates an new DockerBuildStep instance.

Properties

Argument

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

BaseImageDependency

List of base image dependencies for a step.

ContextAccessToken

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

ContextPath

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

DockerFilePath

The Docker file path relative to the source context.

ImageName

The fully qualified image names including the repository and tag.

IsPushEnabled

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

NoCache

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

Target

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

Type

The type of the step.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DockerBuildStep.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DockerBuildStep.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IDockerBuildStep.

FromJsonString(String)

Creates a new instance of DockerBuildStep, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DockerBuildStep into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to