共用方式為


ContainerRegistryEncodedTaskRunContent Class

Definition

The parameters for a quick task run request.

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

Constructors

ContainerRegistryEncodedTaskRunContent(String, ContainerRegistryPlatformProperties)

Initializes a new instance of ContainerRegistryEncodedTaskRunContent.

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)
Credentials

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

EncodedTaskContent

Base64 encoded value of the template/definition file content.

EncodedValuesContent

Base64 encoded value of the parameters/values file content.

IsArchiveEnabled

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

(Inherited from ContainerRegistryRunContent)
LogTemplate

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

(Inherited from ContainerRegistryRunContent)
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.

TimeoutInSeconds

Run timeout in seconds.

Values

The collection of overridable values that can be passed when running a task.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ContainerRegistryRunContent)

Explicit Interface Implementations

IJsonModel<ContainerRegistryEncodedTaskRunContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryEncodedTaskRunContent>.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<ContainerRegistryEncodedTaskRunContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryEncodedTaskRunContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryEncodedTaskRunContent>.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