Workflow Triggers - Get
获取工作流触发器。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}?api-version=2016-06-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
resource
|
path | True |
string |
资源组名称。 |
|
subscription
|
path | True |
string |
订阅 ID。 |
|
trigger
|
path | True |
string |
工作流触发器名称。 |
|
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 trigger
示例请求
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual?api-version=2016-06-01
示例响应
{
"properties": {
"provisioningState": "Succeeded",
"createdTime": "2018-08-10T17:32:30.2496336Z",
"changedTime": "2018-08-10T18:47:49.5288666Z",
"state": "Enabled",
"workflow": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
"name": "08586676800160476478",
"type": "Microsoft.Logic/workflows/versions"
}
},
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
"name": "manual",
"type": "Microsoft.Logic/workflows/triggers"
}
定义
| 名称 | 说明 |
|---|---|
|
Day |
|
|
Days |
星期几。 |
|
Recurrence |
|
|
Recurrence |
重复计划。 |
|
Recurrence |
定期计划出现。 |
|
Resource |
资源引用。 |
|
Workflow |
|
|
Workflow |
|
|
Workflow |
工作流触发器。 |
|
Workflow |
|
|
Workflow |
工作流触发器重复周期。 |
DayOfWeek
| 值 | 说明 |
|---|---|
| Sunday | |
| Monday | |
| Tuesday | |
| Wednesday | |
| Thursday | |
| Friday | |
| Saturday |
DaysOfWeek
星期几。
| 值 | 说明 |
|---|---|
| Sunday | |
| Monday | |
| Tuesday | |
| Wednesday | |
| Thursday | |
| Friday | |
| Saturday |
RecurrenceFrequency
| 值 | 说明 |
|---|---|
| NotSpecified | |
| Second | |
| Minute | |
| Hour | |
| Day | |
| Week | |
| Month | |
| Year |
RecurrenceSchedule
重复计划。
| 名称 | 类型 | 说明 |
|---|---|---|
| hours |
integer[] (int32) |
小时数。 |
| minutes |
integer[] (int32) |
分钟数。 |
| monthDays |
integer[] (int32) |
月天。 |
| monthlyOccurrences |
每月发生次数。 |
|
| weekDays |
星期几。 |
RecurrenceScheduleOccurrence
定期计划出现。
| 名称 | 类型 | 说明 |
|---|---|---|
| day |
一周中的一天。 |
|
| occurrence |
integer (int32) |
出现次数。 |
ResourceReference
资源引用。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| name |
string |
获取资源名称。 |
| type |
string |
获取资源类型。 |
WorkflowState
| 值 | 说明 |
|---|---|
| NotSpecified | |
| Completed | |
| Enabled | |
| Disabled | |
| Deleted | |
| Suspended |
WorkflowStatus
| 值 | 说明 |
|---|---|
| NotSpecified | |
| Paused | |
| Running | |
| Waiting | |
| Succeeded | |
| Skipped | |
| Suspended | |
| Cancelled | |
| Failed | |
| Faulted | |
| TimedOut | |
| Aborted | |
| Ignored |
WorkflowTrigger
工作流触发器。
| 名称 | 类型 | 说明 |
|---|---|---|
| id |
string |
资源 ID。 |
| name |
string |
获取工作流触发器名称。 |
| properties.changedTime |
string (date-time) |
获取更改的时间。 |
| properties.createdTime |
string (date-time) |
获取创建的时间。 |
| properties.lastExecutionTime |
string (date-time) |
获取上次执行时间。 |
| properties.nextExecutionTime |
string (date-time) |
获取下一次执行时间。 |
| properties.provisioningState |
获取预配状态。 |
|
| properties.recurrence |
获取工作流触发器重复周期。 |
|
| properties.state |
获取状态。 |
|
| properties.status |
获取状态。 |
|
| properties.workflow |
获取对工作流的引用。 |
|
| type |
string |
获取工作流触发器类型。 |
WorkflowTriggerProvisioningState
| 值 | 说明 |
|---|---|
| NotSpecified | |
| Accepted | |
| Running | |
| Ready | |
| Creating | |
| Created | |
| Deleting | |
| Deleted | |
| Canceled | |
| Failed | |
| Succeeded | |
| Moving | |
| Updating | |
| Registering | |
| Registered | |
| Unregistering | |
| Unregistered | |
| Completed |
WorkflowTriggerRecurrence
工作流触发器重复周期。
| 名称 | 类型 | 说明 |
|---|---|---|
| endTime |
string |
结束时间。 |
| frequency |
频率。 |
|
| interval |
integer (int32) |
间隔。 |
| schedule |
重复计划。 |
|
| startTime |
string |
开始时间。 |
| timeZone |
string |
时区。 |