Share via


ContainerRegistryTaskRunPatch Class

Definition

The parameters for updating a task run.

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

Constructors

ContainerRegistryTaskRunPatch()

Initializes a new instance of ContainerRegistryTaskRunPatch.

Properties

ForceUpdateTag

How the run should be forced to rerun even if the run request configuration has not changed.

Identity

Identity for the resource.

Location

The location of the resource.

RunRequest

The request (parameters) for the new 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.

Tags

The ARM resource tags.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryTaskRunPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTaskRunPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTaskRunPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTaskRunPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTaskRunPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to