ContainerRegistryTaskRunData Class

Definition

A class representing the ContainerRegistryTaskRun data model. The task run that has the ARM resource and properties. The task run will have the information of request and result of a run.

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

Constructors

ContainerRegistryTaskRunData()

Initializes a new instance of ContainerRegistryTaskRunData.

Properties

ForceUpdateTag

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

Identity for the resource.

Location

The location of the resource.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning state of this task run.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RunRequest

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

RunResult

The result of this task run.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

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

Explicit Interface Implementations

IJsonModel<ContainerRegistryTaskRunData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTaskRunData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTaskRunData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTaskRunData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTaskRunData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to