Workflow Triggers - List
Lekéri a munkafolyamat-eseményindítók listáját.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers?api-version=2023-12-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/triggers?api-version=2023-12-01&$top={$top}&$filter={$filter}
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
name
|
path | True |
string |
Webhely neve. |
resource
|
path | True |
string |
Annak az erőforráscsoportnak a neve, amelyhez az erőforrás tartozik. Regex pattern: |
subscription
|
path | True |
string |
Az Azure-előfizetés azonosítója. Ez egy GUID formátumú sztring (például 00000000-0000-0000-0000-00000000000000). |
workflow
|
path | True |
string |
A munkafolyamat neve. |
api-version
|
query | True |
string |
API-verzió |
$filter
|
query |
string |
A műveletre alkalmazandó szűrő. |
|
$top
|
query |
integer int32 |
Az eredményben szerepeltetni kívánt elemek száma. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Hibaválasz, amely leírja, hogy a művelet miért hiúsult meg. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | felhasználói fiók megszemélyesítése |
Példák
List workflow triggers
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/sites/test-name/hostruntime/runtime/webhooks/workflow/api/management/workflows/test-workflow/triggers?api-version=2023-12-01
Sample Response
{
"value": [
{
"properties": {
"provisioningState": "Succeeded",
"createdTime": "2018-08-10T17:32:30.2496336Z",
"changedTime": "2018-08-10T18:47:49.5288666Z",
"state": "Enabled",
"workflow": {
"id": "/workflows/test-workflow/versions/08586676800160476478",
"name": "08586676800160476478",
"type": "/workflows/versions"
}
},
"id": "/workflows/test-workflow/triggers/manual",
"name": "manual",
"type": "/workflows/triggers"
}
]
}
Definíciók
Name | Description |
---|---|
Day |
A hét napja. |
Days |
A hét napjai. |
Error |
A hiba tulajdonságai azt jelzik, hogy a Logikai szolgáltatás miért nem tudta feldolgozni a bejövő kérést. Ennek okát a hibaüzenet adja meg. |
Error |
A hibaválasz azt jelzi, hogy a Logikai szolgáltatás nem tudja feldolgozni a bejövő kérést. A hibatulajdonság tartalmazza a hiba részleteit. |
Recurrence |
Az ismétlődés gyakorisága. |
Recurrence |
Az ismétlődés ütemezése. |
Recurrence |
Az ismétlődési ütemezés előfordulása. |
Resource |
Az erőforrás-referencia. |
Workflow |
A munkafolyamat állapota. |
Workflow |
A munkafolyamat állapota. |
Workflow |
A munkafolyamat-eseményindító. |
Workflow |
A munkafolyamat-eseményindítók listája. |
Workflow |
A munkafolyamat kiépítési állapotát aktiválja. |
Workflow |
A munkafolyamat eseményindítójának ismétlődése. |
DayOfWeek
A hét napja.
Name | Típus | Description |
---|---|---|
Friday |
string |
|
Monday |
string |
|
Saturday |
string |
|
Sunday |
string |
|
Thursday |
string |
|
Tuesday |
string |
|
Wednesday |
string |
DaysOfWeek
A hét napjai.
Name | Típus | Description |
---|---|---|
Friday |
string |
|
Monday |
string |
|
Saturday |
string |
|
Sunday |
string |
|
Thursday |
string |
|
Tuesday |
string |
|
Wednesday |
string |
ErrorProperties
A hiba tulajdonságai azt jelzik, hogy a Logikai szolgáltatás miért nem tudta feldolgozni a bejövő kérést. Ennek okát a hibaüzenet adja meg.
Name | Típus | Description |
---|---|---|
code |
string |
Hibakód. |
message |
string |
Hibaüzenet jelzi, hogy a művelet miért nem sikerült. |
ErrorResponse
A hibaválasz azt jelzi, hogy a Logikai szolgáltatás nem tudja feldolgozni a bejövő kérést. A hibatulajdonság tartalmazza a hiba részleteit.
Name | Típus | Description |
---|---|---|
error |
A hiba tulajdonságai. |
RecurrenceFrequency
Az ismétlődés gyakorisága.
Name | Típus | Description |
---|---|---|
Day |
string |
|
Hour |
string |
|
Minute |
string |
|
Month |
string |
|
NotSpecified |
string |
|
Second |
string |
|
Week |
string |
|
Year |
string |
RecurrenceSchedule
Az ismétlődés ütemezése.
Name | Típus | Description |
---|---|---|
hours |
integer[] |
Az órákat. |
minutes |
integer[] |
A percek. |
monthDays |
integer[] |
A hónap napjai. |
monthlyOccurrences |
A havi előfordulások. |
|
weekDays |
A hét napjai. |
RecurrenceScheduleOccurrence
Az ismétlődési ütemezés előfordulása.
Name | Típus | Description |
---|---|---|
day |
A hét napja. |
|
occurrence |
integer |
Az előfordulás. |
ResourceReference
Az erőforrás-referencia.
Name | Típus | Description |
---|---|---|
id |
string |
Az erőforrás azonosítója. |
name |
string |
Lekéri az erőforrás nevét. |
type |
string |
Lekéri az erőforrás típusát. |
WorkflowState
A munkafolyamat állapota.
Name | Típus | Description |
---|---|---|
Completed |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Enabled |
string |
|
NotSpecified |
string |
|
Suspended |
string |
WorkflowStatus
A munkafolyamat állapota.
Name | Típus | Description |
---|---|---|
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 |
WorkflowTrigger
A munkafolyamat-eseményindító.
Name | Típus | Description |
---|---|---|
id |
string |
Az erőforrás azonosítója. |
name |
string |
Lekéri a munkafolyamat-eseményindító nevét. |
properties.changedTime |
string |
Lekéri a módosított időpontot. |
properties.createdTime |
string |
Lekéri a létrehozott időpontot. |
properties.lastExecutionTime |
string |
Lekéri az utolsó végrehajtási időpontot. |
properties.nextExecutionTime |
string |
Lekéri a következő végrehajtási időpontot. |
properties.provisioningState |
Lekéri a kiépítési állapotot. |
|
properties.recurrence |
Lekéri a munkafolyamat-eseményindító ismétlődését. |
|
properties.state |
Lekéri az állapotot. |
|
properties.status |
Lekéri az állapotot. |
|
properties.workflow |
Lekéri a munkafolyamatra mutató hivatkozást. |
|
type |
string |
Lekéri a munkafolyamat-eseményindító típusát. |
WorkflowTriggerListResult
A munkafolyamat-eseményindítók listája.
Name | Típus | Description |
---|---|---|
nextLink |
string |
A következő eredményhalmaz lekéréséhez tartozó URL-cím. |
value |
Munkafolyamat-eseményindítók listája. |
WorkflowTriggerProvisioningState
A munkafolyamat kiépítési állapotát aktiválja.
Name | Típus | Description |
---|---|---|
Accepted |
string |
|
Canceled |
string |
|
Completed |
string |
|
Created |
string |
|
Creating |
string |
|
Deleted |
string |
|
Deleting |
string |
|
Failed |
string |
|
Moving |
string |
|
NotSpecified |
string |
|
Ready |
string |
|
Registered |
string |
|
Registering |
string |
|
Running |
string |
|
Succeeded |
string |
|
Unregistered |
string |
|
Unregistering |
string |
|
Updating |
string |
WorkflowTriggerRecurrence
A munkafolyamat eseményindítójának ismétlődése.
Name | Típus | Description |
---|---|---|
endTime |
string |
A befejezés időpontja. |
frequency |
A gyakoriság. |
|
interval |
integer |
Az intervallum. |
schedule |
Az ismétlődés ütemezése. |
|
startTime |
string |
A kezdés időpontja. |
timeZone |
string |
Az időzóna. |