Workflow Run Actions - Get
获取工作流运行作。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}?api-version=2016-06-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
action
|
path | True |
string |
工作流作名称。 |
|
resource
|
path | True |
string |
资源组名称。 |
|
run
|
path | True |
string |
工作流运行名称。 |
|
subscription
|
path | True |
string |
订阅 ID。 |
|
workflow
|
path | True |
string |
工作流名称。 |
|
api-version
|
query | True |
string |
API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
还行 |
安全性
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=2016-06-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": {
"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"
}
定义
| 名称 | 说明 |
|---|---|
|
Content |
内容哈希。 |
|
Content |
内容链接。 |
| Correlation |
相关属性。 |
|
Error |
错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。 |
|
Error |
错误响应指示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。 |
| Object | |
|
Retry |
重试历史记录。 |
|
Workflow |
工作流运行作。 |
|
Workflow |
ContentHash
内容哈希。
| 名称 | 类型 | 说明 |
|---|---|---|
| algorithm |
string |
内容哈希的算法。 |
| value |
string |
内容哈希的值。 |
ContentLink
内容链接。
| 名称 | 类型 | 说明 |
|---|---|---|
| contentHash |
内容哈希。 |
|
| contentSize |
integer (int64) |
内容大小。 |
| contentVersion |
string |
内容版本。 |
| metadata |
元数据。 |
|
| uri |
string |
内容链接 URI。 |
Correlation
相关属性。
| 名称 | 类型 | 说明 |
|---|---|---|
| clientTrackingId |
string |
客户端跟踪 ID。 |
ErrorProperties
错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
错误代码。 |
| message |
string |
指示操作失败的原因的错误消息。 |
ErrorResponse
错误响应指示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误属性。 |
Object
RetryHistory
重试历史记录。
| 名称 | 类型 | 说明 |
|---|---|---|
| clientRequestId |
string |
获取客户端请求 ID。 |
| code |
string |
获取状态代码。 |
| endTime |
string (date-time) |
获取结束时间。 |
| error |
获取错误响应。 |
|
| serviceRequestId |
string |
获取服务请求 ID。 |
| startTime |
string (date-time) |
获取开始时间。 |
WorkflowRunAction
工作流运行作。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| name |
string |
获取工作流运行作名称。 |
| properties.code |
string |
获取代码。 |
| properties.correlation |
相关属性。 |
|
| properties.endTime |
string (date-time) |
获取结束时间。 |
| properties.error |
获取错误。 |
|
| properties.inputsLink |
获取指向输入的链接。 |
|
| properties.outputsLink |
获取输出的链接。 |
|
| properties.retryHistory |
获取重试历史记录。 |
|
| properties.startTime |
string (date-time) |
获取开始时间。 |
| properties.status |
获取状态。 |
|
| properties.trackedProperties |
获取跟踪的属性。 |
|
| properties.trackingId |
string |
获取跟踪 ID。 |
| type |
string |
获取工作流运行作类型。 |
WorkflowStatus
| 值 | 说明 |
|---|---|
| NotSpecified | |
| Paused | |
| Running | |
| Waiting | |
| Succeeded | |
| Skipped | |
| Suspended | |
| Cancelled | |
| Failed | |
| Faulted | |
| TimedOut | |
| Aborted | |
| Ignored |