你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Workflow Run Action Repetitions - List
获取所有工作流运行操作重复。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions?api-version=2023-01-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
action
|
path | True |
string |
工作流操作名称。 |
name
|
path | True |
string |
站点名称。 |
resource
|
path | True |
string |
资源所属的资源组的名称。 Regex pattern: |
run
|
path | True |
string |
工作流运行名称。 |
subscription
|
path | True |
string |
Azure 订阅 ID。 这是一个 GUID 格式的字符串, (例如 00000000-0000-0000-0000-0000000000000) 。 |
workflow
|
path | True |
string |
工作流名称。 |
api-version
|
query | True |
string |
API 版本 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
Other Status Codes |
描述操作失败原因的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
List repetitions
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Web/sites/test-name/hostruntime/runtime/webhooks/workflow/api/management/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions?api-version=2023-01-01
Sample Response
{
"value": [
{
"properties": {
"repetitionIndexes": [
{
"scopeName": "For_each",
"itemIndex": 0
}
],
"trackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4",
"inputsLink": {
"uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=vw4BDdYp4Ap5RXdM7tY_wl9C38DeAHfnixLBEOpideA",
"contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==",
"contentSize": 8,
"contentHash": {
"algorithm": "md5",
"value": "8q1zMKS5ZyHBrPF+qF1xXw=="
}
},
"outputsLink": {
"uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000000/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000000%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=y8Wq7jbu85tmlMo_1zpRyqNJuoCaQCFQtZ3bgSovLY0",
"contentVersion": "8q1zMKS5ZyHBrPF+qF1xXw==",
"contentSize": 8,
"contentHash": {
"algorithm": "md5",
"value": "8q1zMKS5ZyHBrPF+qF1xXw=="
}
},
"startTime": "2018-04-18T17:05:57.217991Z",
"endTime": "2018-04-18T17:05:57.2264835Z",
"correlation": {
"actionTrackingId": "0d8152bb-e198-44a9-bde8-5138eea16dd4",
"clientTrackingId": "08586775357427610445444523191"
},
"status": "Succeeded",
"code": "OK"
},
"id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000000",
"name": "000000",
"type": "/workflows/runs/actions/repetitions"
},
{
"properties": {
"repetitionIndexes": [
{
"scopeName": "For_each",
"itemIndex": 1
}
],
"trackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3",
"inputsLink": {
"uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionInputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=dLmnt50joimEMK4k9rR6njHQh94iSFJ9rrDxFbkEg5M",
"contentVersion": "OA3i83YHGYVch+N8BQJIRQ==",
"contentSize": 6,
"contentHash": {
"algorithm": "md5",
"value": "OA3i83YHGYVch+N8BQJIRQ=="
}
},
"outputsLink": {
"uri": "https://test-site.azurewebsites.net:443/runtime/webhooks/workflow/scaleUnits/prod-00/workflows/2dfde2fce2584c49bea17ef0b04c95f4/runs/08586776228332053161046300351/actions/testAction/repetitions/000001/contents/ActionOutputs?api-version=2016-10-01&se=2018-04-18T21%3A00%3A00.0000000Z&sp=%2Fruns%2F08586776228332053161046300351%2Factions%2FtestAction%2Frepetitions%2F000001%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=B3-X5sqIAv1Lb31GOD34ZgIRUXGuiM2QllWiNwXFYAw",
"contentVersion": "OA3i83YHGYVch+N8BQJIRQ==",
"contentSize": 6,
"contentHash": {
"algorithm": "md5",
"value": "OA3i83YHGYVch+N8BQJIRQ=="
}
},
"startTime": "2018-04-18T17:05:57.0929911Z",
"endTime": "2018-04-18T17:05:57.1015421Z",
"correlation": {
"actionTrackingId": "f84f23eb-b331-4772-9f39-cc307fa83bc3",
"clientTrackingId": "08586775357427610445444523191"
},
"status": "Succeeded",
"code": "OK"
},
"id": "/workflows/testFlow/runs/08586776228332053161046300351/actions/testAction/repetitions/000001",
"name": "000001",
"type": "/workflows/runs/actions/repetitions"
}
]
}
定义
名称 | 说明 |
---|---|
Content |
内容哈希。 |
Content |
内容链接。 |
Error |
错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。 |
Error |
错误响应指示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。 |
Object | |
Repetition |
工作流运行操作重复索引。 |
Retry |
重试历史记录。 |
Run |
工作流运行操作相关属性。 |
Workflow |
工作流运行操作重复定义。 |
Workflow |
工作流运行操作重复的集合。 |
Workflow |
工作流状态。 |
ContentHash
内容哈希。
名称 | 类型 | 说明 |
---|---|---|
algorithm |
string |
内容哈希的算法。 |
value |
string |
内容哈希的值。 |
ContentLink
内容链接。
名称 | 类型 | 说明 |
---|---|---|
contentHash |
内容哈希。 |
|
contentSize |
integer |
内容大小。 |
contentVersion |
string |
内容版本。 |
metadata |
元数据。 |
|
uri |
string |
内容链接 URI。 |
ErrorProperties
错误属性指示逻辑服务无法处理传入请求的原因。 错误消息中提供了原因。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
错误代码。 |
message |
string |
指示操作失败原因的错误消息。 |
ErrorResponse
错误响应指示逻辑服务无法处理传入请求。 error 属性包含错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
error |
错误属性。 |
Object
RepetitionIndex
工作流运行操作重复索引。
名称 | 类型 | 说明 |
---|---|---|
itemIndex |
integer |
索引。 |
scopeName |
string |
范围。 |
RetryHistory
重试历史记录。
名称 | 类型 | 说明 |
---|---|---|
clientRequestId |
string |
获取客户端请求 ID。 |
code |
string |
获取状态代码。 |
endTime |
string |
获取结束时间。 |
error |
获取错误响应。 |
|
serviceRequestId |
string |
获取服务请求 ID。 |
startTime |
string |
获取开始时间。 |
RunActionCorrelation
工作流运行操作相关属性。
名称 | 类型 | 说明 |
---|---|---|
actionTrackingId |
string |
操作跟踪标识符。 |
clientKeywords |
string[] |
客户端关键字。 |
clientTrackingId |
string |
客户端跟踪标识符。 |
WorkflowRunActionRepetitionDefinition
工作流运行操作重复定义。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
工作流范围重复代码。 |
correlation |
相关属性。 |
|
endTime |
string |
工作流范围重复的结束时间。 |
error | ||
id |
string |
资源 ID。 |
location |
string |
资源位置。 |
name |
string |
获取资源名称。 |
properties.inputs |
获取输入。 |
|
properties.inputsLink |
获取指向输入的链接。 |
|
properties.iterationCount |
integer |
|
properties.outputs |
获取输出。 |
|
properties.outputsLink |
获取指向输出的链接。 |
|
properties.repetitionIndexes |
重复索引。 |
|
properties.retryHistory |
获取重试历史记录。 |
|
properties.trackedProperties |
获取跟踪的属性。 |
|
properties.trackingId |
string |
获取跟踪 ID。 |
startTime |
string |
工作流范围重复的开始时间。 |
status |
工作流范围重复的状态。 |
|
tags |
object |
资源标记。 |
type |
string |
获取资源类型。 |
WorkflowRunActionRepetitionDefinitionCollection
工作流运行操作重复的集合。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
用于获取下一页建议的链接。 |
value |
工作流运行操作重复定义。 |
WorkflowStatus
工作流状态。
名称 | 类型 | 说明 |
---|---|---|
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 |