ArmAppServiceModelFactory.WorkflowRunData Method

Definition

Initializes a new instance of WorkflowRunData.

public static Azure.ResourceManager.AppService.WorkflowRunData WorkflowRunData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? waitEndOn = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.AppService.Models.WorkflowStatus? status = default, string code = default, BinaryData error = default, string correlationId = default, string correlationClientTrackingId = default, Azure.ResourceManager.AppService.Models.WorkflowResourceReference workflow = default, Azure.ResourceManager.AppService.Models.WorkflowRunTrigger trigger = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.AppService.Models.WorkflowOutputContent> outputs = default, Azure.ResourceManager.AppService.Models.WorkflowRunTrigger response = default);
static member WorkflowRunData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.AppService.Models.WorkflowStatus> * string * BinaryData * string * string * Azure.ResourceManager.AppService.Models.WorkflowResourceReference * Azure.ResourceManager.AppService.Models.WorkflowRunTrigger * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.AppService.Models.WorkflowOutputContent> * Azure.ResourceManager.AppService.Models.WorkflowRunTrigger -> Azure.ResourceManager.AppService.WorkflowRunData
Public Shared Function WorkflowRunData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional waitEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of WorkflowStatus) = Nothing, Optional code As String = Nothing, Optional error As BinaryData = Nothing, Optional correlationId As String = Nothing, Optional correlationClientTrackingId As String = Nothing, Optional workflow As WorkflowResourceReference = Nothing, Optional trigger As WorkflowRunTrigger = Nothing, Optional outputs As IReadOnlyDictionary(Of String, WorkflowOutputContent) = Nothing, Optional response As WorkflowRunTrigger = Nothing) As WorkflowRunData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

waitEndOn
Nullable<DateTimeOffset>

Gets the wait end time. Serialized Name: WorkflowRun.properties.waitEndTime

startOn
Nullable<DateTimeOffset>

Gets the start time. Serialized Name: WorkflowRun.properties.startTime

endOn
Nullable<DateTimeOffset>

Gets the end time. Serialized Name: WorkflowRun.properties.endTime

status
Nullable<WorkflowStatus>

Gets the status. Serialized Name: WorkflowRun.properties.status

code
String

Gets the code. Serialized Name: WorkflowRun.properties.code

error
BinaryData

Gets the error. Serialized Name: WorkflowRun.properties.error

correlationId
String

Gets the correlation id. Serialized Name: WorkflowRun.properties.correlationId

correlationClientTrackingId
String

The run correlation. Serialized Name: WorkflowRun.properties.correlation

workflow
WorkflowResourceReference

Gets the reference to workflow version. Serialized Name: WorkflowRun.properties.workflow

trigger
WorkflowRunTrigger

Gets the fired trigger. Serialized Name: WorkflowRun.properties.trigger

outputs
IReadOnlyDictionary<String,WorkflowOutputContent>

Gets the outputs. Serialized Name: WorkflowRun.properties.outputs

response
WorkflowRunTrigger

Gets the response of the flow run. Serialized Name: WorkflowRun.properties.response

Returns

A new WorkflowRunData instance for mocking.

Applies to