Udostępnij za pośrednictwem


ArmContainerRegistryModelFactory.PipelineRunResult Method

Definition

Initializes a new instance of PipelineRunResult.

public static Azure.ResourceManager.ContainerRegistry.Models.PipelineRunResult PipelineRunResult(string status = default, System.Collections.Generic.IEnumerable<string> importedArtifacts = default, string progressPercentage = default, DateTimeOffset? startOn = default, DateTimeOffset? finishOn = default, Azure.ResourceManager.ContainerRegistry.Models.ImportPipelineSourceProperties source = default, Azure.ResourceManager.ContainerRegistry.Models.ExportPipelineTargetProperties target = default, string catalogDigest = default, DateTimeOffset? sourceTriggerTimestamp = default, string pipelineRunErrorMessage = default);
static member PipelineRunResult : string * seq<string> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.ContainerRegistry.Models.ImportPipelineSourceProperties * Azure.ResourceManager.ContainerRegistry.Models.ExportPipelineTargetProperties * string * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.ContainerRegistry.Models.PipelineRunResult
Public Shared Function PipelineRunResult (Optional status As String = Nothing, Optional importedArtifacts As IEnumerable(Of String) = Nothing, Optional progressPercentage As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional finishOn As Nullable(Of DateTimeOffset) = Nothing, Optional source As ImportPipelineSourceProperties = Nothing, Optional target As ExportPipelineTargetProperties = Nothing, Optional catalogDigest As String = Nothing, Optional sourceTriggerTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional pipelineRunErrorMessage As String = Nothing) As PipelineRunResult

Parameters

status
String

The current status of the pipeline run.

importedArtifacts
IEnumerable<String>

The artifacts imported in the pipeline run.

progressPercentage
String

The current progress of the copy operation.

startOn
Nullable<DateTimeOffset>

The time the pipeline run started.

finishOn
Nullable<DateTimeOffset>

The time the pipeline run finished.

source
ImportPipelineSourceProperties

The source of the pipeline run.

target
ExportPipelineTargetProperties

The target of the pipeline run.

catalogDigest
String

The digest of the tar used to transfer the artifacts.

sourceTriggerTimestamp
Nullable<DateTimeOffset>

The trigger that caused the pipeline run.

pipelineRunErrorMessage
String

The detailed error message for the pipeline run in the case of failure.

Returns

A new PipelineRunResult instance for mocking.

Applies to