Share via


Run Class

Definition

Run resource properties

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

Constructors

Run()

Creates an new Run 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.

ErrorMessage

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

FinishTime

The time the run finished.

Id

The resource ID.

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.

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 a run.

ResourceGroupName

Gets the resource group name

RunId

The unique identifier for the run.

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 Run.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Run.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Run into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to