共用方式為


ContainerRegistryRunContent Class

Definition

The request parameters for scheduling a run. Please note ContainerRegistryRunContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContainerRegistryDockerBuildContent, ContainerRegistryEncodedTaskRunContent, ContainerRegistryFileTaskRunContent and ContainerRegistryTaskRunContent.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ContainerRegistry.Models.UnknownRunRequest))]
public abstract class ContainerRegistryRunContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunContent>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ContainerRegistry.Models.UnknownRunRequest))>]
type ContainerRegistryRunContent = class
    interface IJsonModel<ContainerRegistryRunContent>
    interface IPersistableModel<ContainerRegistryRunContent>
Public MustInherit Class ContainerRegistryRunContent
Implements IJsonModel(Of ContainerRegistryRunContent), IPersistableModel(Of ContainerRegistryRunContent)
Inheritance
ContainerRegistryRunContent
Derived
Attributes
Implements

Constructors

ContainerRegistryRunContent()

Initializes a new instance of ContainerRegistryRunContent.

Properties

AgentPoolName

The dedicated agent pool for the run.

IsArchiveEnabled

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

LogTemplate

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryRunContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryRunContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryRunContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryRunContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryRunContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to