Share via


ContainerRegistryTaskPatch Class

Definition

The parameters for updating a task.

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

Constructors

ContainerRegistryTaskPatch()

Initializes a new instance of ContainerRegistryTaskPatch.

Properties

AgentCpu

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

AgentPoolName

The dedicated agent pool for the task.

Credentials

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

Identity

Identity for the resource.

LogTemplate

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

Platform

The platform properties against which the run has to happen.

Status

The current status of task.

Step

The properties for updating a task step. Please note ContainerRegistryTaskStepUpdateContent 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 ContainerRegistryDockerBuildStepUpdateContent, ContainerRegistryEncodedTaskStepUpdateContent and ContainerRegistryFileTaskStepUpdateContent.

Tags

The ARM resource tags.

TimeoutInSeconds

Run timeout in seconds.

Trigger

The properties for updating trigger properties.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryTaskPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTaskPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTaskPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTaskPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTaskPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to