Web Apps - List Instance Workflows Slot
De werkstromen voor een website of een implementatiesite weergeven.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Sitenaam. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
Naam van de implementatiesite. |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Werkstroomgegevens geretourneerd. |
|
Other Status Codes |
App Service foutreactie. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
List the workflows Slot
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/slots/staging/workflows?api-version=2023-12-01
Voorbeeldrespons
{
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/workflows/a1",
"name": "testsite2/a1",
"type": "Microsoft.Web/sites/workflows",
"location": "USAAnywhere",
"kind": "Stateful",
"properties": {
"flowState": "Enabled",
"health": {
"state": "Healthy"
}
}
},
{
"id": "/subscriptions/testsub/resourceGroups/testrg/providers/Microsoft.Web/sites/testsite2/workflows/stateful2",
"name": "testsite2/stateful2",
"type": "Microsoft.Web/sites/workflows",
"location": "USAAnywhere",
"kind": "Stateful",
"properties": {
"flowState": "Enabled",
"health": {
"state": "Unhealthy",
"error": {
"code": "InvalidWorkflowJson",
"message": "Invalid character after parsing property name. Expected ':' but got: \". Path '', line 2, position 2."
}
}
}
}
],
"nextLink": null
}
Definities
Name | Description |
---|---|
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Error |
Hoofdtekst van het foutbericht dat is geretourneerd door de API. |
Properties |
Aanvullende werkstroomeigenschappen. |
Workflow |
Definitie van werkstroomeigenschappen. |
Workflow |
Verzameling van Kudu-werkstroominformatie-elementen. |
Workflow |
Vertegenwoordigt de werkstroomstatus. |
Workflow |
Hiermee wordt de status van de werkstroom opgehaald of ingesteld. |
Workflow |
De werkstroomstatus. |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
error |
Foutmodel. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
ErrorEntity
Hoofdtekst van het foutbericht dat is geretourneerd door de API.
Name | Type | Description |
---|---|---|
code |
string |
Basisfoutcode. |
details |
Foutdetails. |
|
extendedCode |
string |
Type fout. |
innerErrors |
Interne fouten. |
|
message |
string |
Eventuele details van de fout. |
messageTemplate |
string |
Berichtsjabloon. |
parameters |
string[] |
Parameters voor de sjabloon. |
target |
string |
Het foutdoel. |
Properties
Aanvullende werkstroomeigenschappen.
Name | Type | Description |
---|---|---|
files |
object |
Hiermee worden de bestanden opgehaald of ingesteld. |
flowState |
Hiermee wordt de status van de werkstroom opgehaald of ingesteld. |
|
health |
Hiermee wordt de werkstroomstatus opgehaald of ingesteld. |
WorkflowEnvelope
Definitie van werkstroomeigenschappen.
Name | Type | Description |
---|---|---|
id |
string |
De resource-id. |
kind |
string |
Het soort resource. |
location |
string |
De resourcelocatie. |
name |
string |
Hiermee haalt u de resourcenaam op. |
properties |
Aanvullende werkstroomeigenschappen. |
|
type |
string |
Hiermee haalt u het resourcetype op. |
WorkflowEnvelopeCollection
Verzameling van Kudu-werkstroominformatie-elementen.
Name | Type | Description |
---|---|---|
nextLink |
string |
Koppeling naar de volgende pagina met resources. |
value |
Verzameling resources. |
WorkflowHealth
Vertegenwoordigt de werkstroomstatus.
Name | Type | Description |
---|---|---|
error |
Hiermee wordt de werkstroomfout opgehaald of ingesteld. |
|
state |
Hiermee wordt de status van de werkstroom opgehaald of ingesteld. |
WorkflowHealthState
Hiermee wordt de status van de werkstroom opgehaald of ingesteld.
Name | Type | Description |
---|---|---|
Healthy |
string |
|
NotSpecified |
string |
|
Unhealthy |
string |
|
Unknown |
string |
WorkflowState
De werkstroomstatus.
Name | Type | Description |
---|---|---|
Completed |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Enabled |
string |
|
NotSpecified |
string |
|
Suspended |
string |