你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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 参数

名称 必需 类型 说明
actionName
path True

string

工作流作名称。

resourceGroupName
path True

string

资源组名称。

runName
path True

string

工作流运行名称。

subscriptionId
path True

string

订阅 ID。

workflowName
path True

string

工作流名称。

api-version
query True

string

API 版本。

响应

名称 类型 说明
200 OK

WorkflowRunAction

好的

Other Status Codes

ErrorResponse

描述操作失败的原因的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
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"
}

定义

名称 说明
ContentHash

内容哈希。

ContentLink

内容链接。

ErrorProperties

错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。

ErrorResponse

错误响应表示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。

Object
RetryHistory

重试历史记录。

RunActionCorrelation

工作流运行作关联属性。

WorkflowRunAction

工作流运行作。

WorkflowStatus

工作流状态。

ContentHash

内容哈希。

名称 类型 说明
algorithm

string

内容哈希的算法。

value

string

内容哈希的值。

内容链接。

名称 类型 说明
contentHash

ContentHash

内容哈希。

contentSize

integer (int64)

内容大小。

contentVersion

string

内容版本。

metadata

Object

元数据。

uri

string

内容链接 URI。

ErrorProperties

错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。

名称 类型 说明
code

string

错误代码。

message

string

指示作失败的原因的错误消息。

ErrorResponse

错误响应表示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。

名称 类型 说明
error

ErrorProperties

错误属性。

Object

RetryHistory

重试历史记录。

名称 类型 说明
clientRequestId

string

获取客户端请求 ID。

code

string

获取状态代码。

endTime

string (date-time)

获取结束时间。

error

ErrorResponse

获取错误响应。

serviceRequestId

string

获取服务请求 ID。

startTime

string (date-time)

获取开始时间。

RunActionCorrelation

工作流运行作关联属性。

名称 类型 说明
actionTrackingId

string

作跟踪标识符。

clientKeywords

string[]

客户端关键字。

clientTrackingId

string

客户端跟踪标识符。

WorkflowRunAction

工作流运行作。

名称 类型 说明
id

string

资源 ID。

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

获取跟踪 ID。

type

string

获取工作流运行作类型。

WorkflowStatus

工作流状态。

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