TaskRunProperties Class

Definition

The properties of task run.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskRunPropertiesTypeConverter))]
public class TaskRunProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskRunProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskRunPropertiesTypeConverter))>]
type TaskRunProperties = class
    interface ITaskRunProperties
    interface IJsonSerializable
Public Class TaskRunProperties
Implements ITaskRunProperties
Inheritance
TaskRunProperties
Attributes
Implements

Constructors

TaskRunProperties()

Creates an new TaskRunProperties instance.

Properties

AgentConfigurationCpu

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

AgentPoolName

The dedicated agent pool for the run.

CreateTime

The time the run was scheduled.

CustomRegistry

The list of custom registries that were logged in during this run.

FinishTime

The time the run finished.

ForceUpdateTag

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

ImageUpdateTriggerId

The unique ID of the trigger.

ImageUpdateTriggerImage

The list of image updates that caused the build.

ImageUpdateTriggerTimestamp

The timestamp when the image update happened.

IsArchiveEnabled

The value that indicates whether archiving is enabled or not.

LastUpdatedTime

The last updated time for the run.

LogArtifactDigest

The sha256-based digest of the image manifest.

LogArtifactRegistry

The registry login server.

LogArtifactRepository

The repository name.

LogArtifactTag

The tag name.

OutputImage

The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.

PlatformArchitecture

The OS architecture.

PlatformOS

The operating system type required for the run.

PlatformVariant

Variant of the CPU.

ProvisioningState

The provisioning state of this task run

RunErrorMessage

The error message received from backend systems after the run is scheduled.

RunId

The unique identifier for the run.

RunRequestAgentPoolName

The dedicated agent pool for the run.

RunRequestIsArchiveEnabled

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

RunRequestLogTemplate

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

RunRequestType

The type of the run request.

RunResultId

The resource ID.

RunResultName

The name of the resource.

RunResultPropertiesProvisioningState

The provisioning state of a run.

RunResultSystemDataCreatedAt

The timestamp of resource creation (UTC).

RunResultSystemDataCreatedBy

The identity that created the resource.

RunResultSystemDataCreatedByType

The type of identity that created the resource.

RunResultSystemDataLastModifiedAt

The timestamp of resource modification (UTC).

RunResultSystemDataLastModifiedBy

The identity that last modified the resource.

RunResultSystemDataLastModifiedByType

The type of identity that last modified the resource.

RunResultType

The type of the resource.

RunType

The type of run.

SourceRegistryAuth

The scope of the credentials that were used to login to the source registry during this run.

SourceTriggerBranchName

The branch name in the repository.

SourceTriggerCommitId

The unique ID that identifies a commit.

SourceTriggerEventType

The event type of the trigger.

SourceTriggerId

The unique ID of the trigger.

SourceTriggerProviderType

The source control provider type.

SourceTriggerPullRequestId

The unique ID that identifies pull request.

SourceTriggerRepositoryUrl

The repository URL.

StartTime

The time the run started.

Status

The current status of the run.

Task

The task against which run was scheduled.

TimerTriggerName

The timer trigger name that caused the run.

TimerTriggerScheduleOccurrence

The occurrence that triggered the run.

UpdateTriggerToken

The update trigger token passed for the Run.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TaskRunProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TaskRunProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskRunProperties.

FromJsonString(String)

Creates a new instance of TaskRunProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TaskRunProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to