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.

resourceGroupName
path True

string

Annak az erőforráscsoportnak a neve, amelyhez az erőforrás tartozik.

Regex pattern: ^[-\w\._\(\)]+[^\.]$

subscriptionId
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).

workflowName
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

WorkflowTriggerListResult

OK

Other Status Codes

ErrorResponse

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
DayOfWeek

A hét napja.

DaysOfWeek

A hét napjai.

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.

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.

RecurrenceFrequency

Az ismétlődés gyakorisága.

RecurrenceSchedule

Az ismétlődés ütemezése.

RecurrenceScheduleOccurrence

Az ismétlődési ütemezés előfordulása.

ResourceReference

Az erőforrás-referencia.

WorkflowState

A munkafolyamat állapota.

WorkflowStatus

A munkafolyamat állapota.

WorkflowTrigger

A munkafolyamat-eseményindító.

WorkflowTriggerListResult

A munkafolyamat-eseményindítók listája.

WorkflowTriggerProvisioningState

A munkafolyamat kiépítési állapotát aktiválja.

WorkflowTriggerRecurrence

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

ErrorProperties

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

RecurrenceScheduleOccurrence[]

A havi előfordulások.

weekDays

DaysOfWeek[]

A hét napjai.

RecurrenceScheduleOccurrence

Az ismétlődési ütemezés előfordulása.

Name Típus Description
day

DayOfWeek

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

WorkflowTriggerProvisioningState

Lekéri a kiépítési állapotot.

properties.recurrence

WorkflowTriggerRecurrence

Lekéri a munkafolyamat-eseményindító ismétlődését.

properties.state

WorkflowState

Lekéri az állapotot.

properties.status

WorkflowStatus

Lekéri az állapotot.

properties.workflow

ResourceReference

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

WorkflowTrigger[]

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

RecurrenceFrequency

A gyakoriság.

interval

integer

Az intervallum.

schedule

RecurrenceSchedule

Az ismétlődés ütemezése.

startTime

string

A kezdés időpontja.

timeZone

string

Az időzóna.