Workflow Triggers - Get
Ottiene un trigger del flusso di lavoro.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}?api-version=2016-06-01
Parametri dell'URI
Nome | In | Necessario | Tipo | Descrizione |
---|---|---|---|---|
resource
|
path | True |
string |
Il nome del gruppo di risorse. |
subscription
|
path | True |
string |
ID sottoscrizione. |
trigger
|
path | True |
string |
Nome del trigger del flusso di lavoro. |
workflow
|
path | True |
string |
Nome del flusso di lavoro. |
api-version
|
query | True |
string |
La versione delle API. |
Risposte
Nome | Tipo | Descrizione |
---|---|---|
200 OK |
OK |
Sicurezza
azure_auth
Flusso OAuth2 di Azure Active Directory.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Nome | Descrizione |
---|---|
user_impersonation | rappresentare l'account utente |
Esempio
Get a workflow trigger
Sample Request
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
Sample Response
{
"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"
}
Definizioni
Nome | Descrizione |
---|---|
Day |
|
Days |
I giorni della settimana. |
Recurrence |
|
Recurrence |
Pianificazione delle ricorrenze. |
Recurrence |
Occorrenza della pianificazione delle ricorrenze. |
Resource |
Riferimento alla risorsa. |
Workflow |
|
Workflow |
|
Workflow |
Trigger del flusso di lavoro. |
Workflow |
|
Workflow |
Ricorrenza del trigger del flusso di lavoro. |
DayOfWeek
Nome | Tipo | Descrizione |
---|---|---|
Friday |
string |
|
Monday |
string |
|
Saturday |
string |
|
Sunday |
string |
|
Thursday |
string |
|
Tuesday |
string |
|
Wednesday |
string |
DaysOfWeek
I giorni della settimana.
Nome | Tipo | Descrizione |
---|---|---|
Friday |
string |
|
Monday |
string |
|
Saturday |
string |
|
Sunday |
string |
|
Thursday |
string |
|
Tuesday |
string |
|
Wednesday |
string |
RecurrenceFrequency
Nome | Tipo | Descrizione |
---|---|---|
Day |
string |
|
Hour |
string |
|
Minute |
string |
|
Month |
string |
|
NotSpecified |
string |
|
Second |
string |
|
Week |
string |
|
Year |
string |
RecurrenceSchedule
Pianificazione delle ricorrenze.
Nome | Tipo | Descrizione |
---|---|---|
hours |
integer[] |
Ore. |
minutes |
integer[] |
I minuti. |
monthDays |
integer[] |
Giorni del mese. |
monthlyOccurrences |
Occorrenze mensili. |
|
weekDays |
I giorni della settimana. |
RecurrenceScheduleOccurrence
Occorrenza della pianificazione delle ricorrenze.
Nome | Tipo | Descrizione |
---|---|---|
day |
Il giorno della settimana. |
|
occurrence |
integer |
Occorrenza. |
ResourceReference
Riferimento alla risorsa.
Nome | Tipo | Descrizione |
---|---|---|
id |
string |
ID risorsa. |
name |
string |
Ottiene il nome della risorsa. |
type |
string |
Ottiene il tipo di risorsa. |
WorkflowState
Nome | Tipo | Descrizione |
---|---|---|
Completed |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Enabled |
string |
|
NotSpecified |
string |
|
Suspended |
string |
WorkflowStatus
Nome | Tipo | Descrizione |
---|---|---|
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
Trigger del flusso di lavoro.
Nome | Tipo | Descrizione |
---|---|---|
id |
string |
ID risorsa. |
name |
string |
Ottiene il nome del trigger del flusso di lavoro. |
properties.changedTime |
string |
Ottiene l'ora modificata. |
properties.createdTime |
string |
Ottiene l'ora creata. |
properties.lastExecutionTime |
string |
Ottiene l'ultima ora di esecuzione. |
properties.nextExecutionTime |
string |
Ottiene l'ora di esecuzione successiva. |
properties.provisioningState |
Ottiene lo stato di provisioning. |
|
properties.recurrence |
Ottiene la ricorrenza del trigger del flusso di lavoro. |
|
properties.state |
Ottiene lo stato. |
|
properties.status |
Ottiene lo stato. |
|
properties.workflow |
Ottiene il riferimento al flusso di lavoro. |
|
type |
string |
Ottiene il tipo di trigger del flusso di lavoro. |
WorkflowTriggerProvisioningState
Nome | Tipo | Descrizione |
---|---|---|
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
Ricorrenza del trigger del flusso di lavoro.
Nome | Tipo | Descrizione |
---|---|---|
endTime |
string |
Ora di fine. |
frequency |
Frequenza. |
|
interval |
integer |
Intervallo. |
schedule |
Pianificazione delle ricorrenze. |
|
startTime |
string |
Ora di inizio. |
timeZone |
string |
Fuso orario. |