Share via


ContainerRegistryDockerBuildContent Class

Definition

The parameters for a docker quick build.

public class ContainerRegistryDockerBuildContent : Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunContent, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryDockerBuildContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryDockerBuildContent>
public class ContainerRegistryDockerBuildContent : Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunContent
type ContainerRegistryDockerBuildContent = class
    inherit ContainerRegistryRunContent
    interface IJsonModel<ContainerRegistryDockerBuildContent>
    interface IPersistableModel<ContainerRegistryDockerBuildContent>
type ContainerRegistryDockerBuildContent = class
    inherit ContainerRegistryRunContent
Public Class ContainerRegistryDockerBuildContent
Inherits ContainerRegistryRunContent
Implements IJsonModel(Of ContainerRegistryDockerBuildContent), IPersistableModel(Of ContainerRegistryDockerBuildContent)
Public Class ContainerRegistryDockerBuildContent
Inherits ContainerRegistryRunContent
Inheritance
ContainerRegistryDockerBuildContent
Implements

Constructors

ContainerRegistryDockerBuildContent(String, ContainerRegistryPlatformProperties)

Initializes a new instance of ContainerRegistryDockerBuildContent.

Properties

AgentCpu

The CPU configuration in terms of number of cores required for the run.

AgentPoolName

The dedicated agent pool for the run.

(Inherited from ContainerRegistryRunContent)
Arguments

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

Credentials

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

DockerFilePath

The Docker file path relative to the source location.

ImageNames

The fully qualified image names including the repository and tag.

IsArchiveEnabled

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

(Inherited from ContainerRegistryRunContent)
IsPushEnabled

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

LogTemplate

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

(Inherited from ContainerRegistryRunContent)
NoCache

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

Platform

The platform properties against which the run has to happen.

SourceLocation

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

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

TimeoutInSeconds

Run timeout in seconds.

Explicit Interface Implementations

IJsonModel<ContainerRegistryDockerBuildContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerRegistryDockerBuildContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ContainerRegistryRunContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ContainerRegistryRunContent)
IJsonModel<ContainerRegistryRunContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ContainerRegistryRunContent)
IPersistableModel<ContainerRegistryDockerBuildContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryDockerBuildContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerRegistryDockerBuildContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ContainerRegistryRunContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ContainerRegistryRunContent)
IPersistableModel<ContainerRegistryRunContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ContainerRegistryRunContent)
IPersistableModel<ContainerRegistryRunContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ContainerRegistryRunContent)

Applies to