Condividi tramite


ContainerRegistryTaskData Class

Definition

A class representing the ContainerRegistryTask data model. The task that has the ARM resource and task properties. The task will have all information to schedule a run against it.

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

Constructors

ContainerRegistryTaskData(AzureLocation)

Initializes a new instance of ContainerRegistryTaskData.

Properties

AgentCpu

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

AgentPoolName

The dedicated agent pool for the task.

CreatedOn

The creation date of task.

Credentials

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

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.

IsSystemTask

The value of this property indicates whether the task resource is system task or not.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
LogTemplate

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

Name

The name of the resource.

(Inherited from ResourceData)
Platform

The platform properties against which the run has to happen.

ProvisioningState

The provisioning state of the task.

ResourceType

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

(Inherited from ResourceData)
Status

The current status of task.

Step

The properties of a task step. Please note ContainerRegistryTaskStepProperties 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 ContainerRegistryDockerBuildStep, ContainerRegistryEncodedTaskStep and ContainerRegistryFileTaskStep.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TimeoutInSeconds

Run timeout in seconds.

Trigger

The properties that describe all triggers for the task.

Methods

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

Explicit Interface Implementations

IJsonModel<ContainerRegistryTaskData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTaskData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTaskData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTaskData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTaskData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to