Compartir a través de


TaskRun Class

Definition

The task run that has the ARM resource and properties. The task run will have the information of request and result of a run.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskRunTypeConverter))]
public class TaskRun : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ITaskRun, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.TaskRunTypeConverter))>]
type TaskRun = class
    interface ITaskRun
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class TaskRun
Implements ITaskRun, IValidates
Inheritance
TaskRun
Attributes
Implements

Constructors

TaskRun()

Creates an new TaskRun 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

Id

The resource ID.

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

IdentityUserAssignedIdentity

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

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.

Location

The location of the resource

LogArtifactDigest

The sha256-based digest of the image manifest.

LogArtifactRegistry

The registry login server.

LogArtifactRepository

The repository name.

LogArtifactTag

The tag name.

Name

The name of the resource.

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

ResourceGroupName

Gets the resource group name

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.

SystemData

Metadata pertaining to creation and last modification of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Task

The task against which run was scheduled.

TimerTriggerName

The timer trigger name that caused the run.

TimerTriggerScheduleOccurrence

The occurrence that triggered the run.

Type

The type of the resource.

UpdateTriggerToken

The update trigger token passed for the Run.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TaskRun.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TaskRun.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TaskRun into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to