Workflow Runs - Get

取得工作流程執行。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}?api-version=2016-06-01

URI 參數

名稱 位於 必要 類型 Description
resourceGroupName
path True

string

資源群組名稱。

runName
path True

string

工作流程執行名稱。

subscriptionId
path True

string

訂用帳戶標識碼。

workflowName
path True

string

工作流程名稱。

api-version
query True

string

API 版本。

回應

名稱 類型 Description
200 OK

WorkflowRun

確定

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Get a run for a workflow

Sample Request

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22?api-version=2016-06-01

Sample Response

{
  "properties": {
    "waitEndTime": "2018-08-10T20:16:32.044238Z",
    "startTime": "2018-08-10T20:16:32.044238Z",
    "endTime": "2018-08-10T20:16:32.5779999Z",
    "status": "Succeeded",
    "correlation": {
      "clientTrackingId": "08586676746934337772206998657CU22"
    },
    "workflow": {
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
      "name": "08586676754160363885",
      "type": "Microsoft.Logic/workflows/versions"
    },
    "trigger": {
      "name": "Recurrence",
      "startTime": "2018-08-10T20:16:32.0387927Z",
      "endTime": "2018-08-10T20:16:32.0387927Z",
      "scheduledTime": "2018-08-10T20:16:31.6344174Z",
      "correlation": {
        "clientTrackingId": "08586676746934337772206998657CU22"
      },
      "code": "OK",
      "status": "Succeeded"
    },
    "outputs": {}
  },
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
  "name": "08586676746934337772206998657CU22",
  "type": "Microsoft.Logic/workflows/runs"
}

定義

名稱 Description
ContentHash

內容哈希。

ContentLink

內容連結。

Correlation

相互關聯屬性。

Object
ParameterType
ResourceReference

資源參考。

WorkflowOutputParameter

工作流程輸出參數。

WorkflowRun

工作流程執行。

WorkflowRunTrigger

工作流程執行觸發程式。

WorkflowStatus

ContentHash

內容哈希。

名稱 類型 Description
algorithm

string

內容哈希的演算法。

value

string

內容哈希的值。

內容連結。

名稱 類型 Description
contentHash

ContentHash

內容哈希。

contentSize

integer

內容大小。

contentVersion

string

內容版本。

metadata

Object

中繼資料。

uri

string

內容連結 URI。

Correlation

相互關聯屬性。

名稱 類型 Description
clientTrackingId

string

用戶端追蹤標識碼。

Object

ParameterType

名稱 類型 Description
Array

string

Bool

string

Float

string

Int

string

NotSpecified

string

Object

string

SecureObject

string

SecureString

string

String

string

ResourceReference

資源參考。

名稱 類型 Description
id

string

資源標識碼。

name

string

取得資源名稱。

type

string

取得資源類型。

WorkflowOutputParameter

工作流程輸出參數。

名稱 類型 Description
description

string

描述。

error

Object

取得錯誤。

metadata

Object

中繼資料。

type

ParameterType

類型。

value

Object

數值。

WorkflowRun

工作流程執行。

名稱 類型 Description
id

string

資源標識碼。

name

string

取得工作流程執行名稱。

properties.code

string

取得程式碼。

properties.correlation

Correlation

執行相互關聯。

properties.correlationId

string

取得相互關聯標識碼。

properties.endTime

string

取得結束時間。

properties.error

Object

取得錯誤。

properties.outputs

<string,  WorkflowOutputParameter>

取得輸出。

properties.response

WorkflowRunTrigger

取得流程執行的回應。

properties.startTime

string

取得開始時間。

properties.status

WorkflowStatus

取得狀態。

properties.trigger

WorkflowRunTrigger

取得引發的觸發程式。

properties.waitEndTime

string

取得等候結束時間。

properties.workflow

ResourceReference

取得工作流程版本的參考。

type

string

取得工作流程執行類型。

WorkflowRunTrigger

工作流程執行觸發程式。

名稱 類型 Description
code

string

取得程式碼。

correlation

Correlation

執行相互關聯。

endTime

string

取得結束時間。

error

Object

取得錯誤。

inputs

Object

取得輸入。

inputsLink

ContentLink

取得輸入的連結。

name

string

取得名稱。

outputs

Object

取得輸出。

outputsLink

ContentLink

取得輸出的連結。

scheduledTime

string

取得排程的時間。

startTime

string

取得開始時間。

status

WorkflowStatus

取得狀態。

trackedProperties

Object

取得追蹤的屬性。

trackingId

string

取得追蹤標識碼。

WorkflowStatus

名稱 類型 Description
Aborted

string

Cancelled

string

Failed

string

Faulted

string

Ignored

string

NotSpecified

string

Paused

string

Running

string

Skipped

string

Succeeded

string

Suspended

string

TimedOut

string

Waiting

string