共用方式為


Workflow Run Actions - Get

取得工作流程執行動作。

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

URI 參數

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

string

工作流程動作名稱。

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

WorkflowRunAction

OK

Other Status Codes

ErrorResponse

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

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

範例

Get a workflow run action

範例要求

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

範例回覆

{
  "properties": {
    "inputsLink": {
      "uri": "https://tempuri.org",
      "contentVersion": "5XUACojv0aBfuP56os3CWw==",
      "contentSize": 46,
      "contentHash": {
        "algorithm": "md5",
        "value": "XXUACojv0aBfuP56os3CWw=="
      }
    },
    "outputsLink": {
      "uri": "https://tempuri.org",
      "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
      "contentSize": 11873,
      "contentHash": {
        "algorithm": "md5",
        "value": "XX6KRrevI6AAxEvo9FeBYQ=="
      }
    },
    "startTime": "2018-08-10T20:16:32.305236Z",
    "endTime": "2018-08-10T20:16:32.5450625Z",
    "correlation": {
      "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
      "clientTrackingId": "08586676746934337772206998657CU22"
    },
    "status": "Succeeded",
    "code": "OK"
  },
  "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
  "name": "HTTP",
  "type": "Microsoft.Logic/workflows/runs/actions"
}

定義

名稱 Description
ContentHash

內容哈希。

ContentLink

內容連結。

ErrorProperties

錯誤屬性會指出邏輯服務無法處理傳入要求的原因。 原因在錯誤訊息中提供。

ErrorResponse

錯誤回應表示邏輯服務無法處理傳入的要求。 error 屬性包含錯誤詳細資料。

Object
RetryHistory

重試歷程記錄。

RunActionCorrelation

工作流程執行動作相互關聯屬性。

WorkflowRunAction

工作流程執行動作。

WorkflowStatus

工作流程狀態。

ContentHash

內容哈希。

名稱 類型 Description
algorithm

string

內容哈希的演算法。

value

string

內容哈希的值。

內容連結。

名稱 類型 Description
contentHash

ContentHash

內容哈希。

contentSize

integer (int64)

內容大小。

contentVersion

string

內容版本。

metadata

Object

元數據。

uri

string

內容連結 URI。

ErrorProperties

錯誤屬性會指出邏輯服務無法處理傳入要求的原因。 原因在錯誤訊息中提供。

名稱 類型 Description
code

string

錯誤碼。

message

string

錯誤訊息,指出作業失敗的原因。

ErrorResponse

錯誤回應表示邏輯服務無法處理傳入的要求。 error 屬性包含錯誤詳細資料。

名稱 類型 Description
error

ErrorProperties

錯誤屬性。

Object

RetryHistory

重試歷程記錄。

名稱 類型 Description
clientRequestId

string

取得用戶端要求識別碼。

code

string

取得狀態碼。

endTime

string (date-time)

取得結束時間。

error

ErrorResponse

取得錯誤回應。

serviceRequestId

string

取得服務要求標識碼。

startTime

string (date-time)

取得開始時間。

RunActionCorrelation

工作流程執行動作相互關聯屬性。

名稱 類型 Description
actionTrackingId

string

動作追蹤識別碼。

clientKeywords

string[]

用戶端關鍵字。

clientTrackingId

string

用戶端追蹤識別碼。

WorkflowRunAction

工作流程執行動作。

名稱 類型 Description
id

string

資源標識碼。

name

string

取得工作流程執行動作名稱。

properties.code

string

取得程式碼。

properties.correlation

RunActionCorrelation

相關性屬性。

properties.endTime

string (date-time)

取得結束時間。

properties.error

Object

取得錯誤。

properties.inputsLink

ContentLink

取得輸入的連結。

properties.outputsLink

ContentLink

取得輸出的連結。

properties.retryHistory

RetryHistory[]

取得重試歷程記錄。

properties.startTime

string (date-time)

取得開始時間。

properties.status

WorkflowStatus

取得狀態。

properties.trackedProperties

Object

取得追蹤的屬性。

properties.trackingId

string

取得追蹤標識碼。

type

string

取得工作流程執行動作類型。

WorkflowStatus

工作流程狀態。

Description
NotSpecified
Paused
Running
Waiting
Succeeded
Skipped
Suspended
Cancelled
Failed
Faulted
TimedOut
Aborted
Ignored