Web Apps - List Instance Workflows Slot
Bir web sitesi veya dağıtım yuvası için iş akışlarını listeleyin.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/workflows?api-version=2023-12-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
name
|
path | True |
string |
Site adı. |
resource
|
path | True |
string |
Kaynağın ait olduğu kaynak grubunun adı. Regex pattern: |
slot
|
path | True |
string |
Dağıtım yuvasının adı. |
subscription
|
path | True |
string |
Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örneğin, 000000000-0000-0000-0000-00000000000000). |
api-version
|
query | True |
string |
API Sürümü |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
İş akışı bilgileri döndürüldü. |
|
Other Status Codes |
hata yanıtı App Service. |
Güvenlik
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 | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
List the workflows Slot
Sample Request
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
Sample Response
{
"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
}
Tanımlar
Name | Description |
---|---|
Default |
hata yanıtı App Service. |
Details | |
Error |
Hata modeli. |
Error |
API'den döndürülen hata yanıtının gövdesi. |
Properties |
Ek iş akışı özellikleri. |
Workflow |
İş akışı özellikleri tanımı. |
Workflow |
Kudu iş akışı bilgi öğelerinin koleksiyonu. |
Workflow |
İş akışı durumunu temsil eder. |
Workflow |
İş akışı sistem durumunu alır veya ayarlar. |
Workflow |
İş akışı durumu. |
DefaultErrorResponse
hata yanıtı App Service.
Name | Tür | Description |
---|---|---|
error |
Hata modeli. |
Details
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
Error
Hata modeli.
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
details |
Details[] |
Ayrıntılı hatalar. |
innererror |
string |
Hata ayıklamak için daha fazla bilgi. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
ErrorEntity
API'den döndürülen hata yanıtının gövdesi.
Name | Tür | Description |
---|---|---|
code |
string |
Temel hata kodu. |
details |
Hata Ayrıntıları. |
|
extendedCode |
string |
Hata türü. |
innerErrors |
İç hatalar. |
|
message |
string |
Hatanın tüm ayrıntıları. |
messageTemplate |
string |
İleti şablonu. |
parameters |
string[] |
Şablon için parametreler. |
target |
string |
Hata hedefi. |
Properties
Ek iş akışı özellikleri.
Name | Tür | Description |
---|---|---|
files |
object |
Dosyaları alır veya ayarlar. |
flowState |
İş akışının durumunu alır veya ayarlar. |
|
health |
İş akışı durumunu alır veya ayarlar. |
WorkflowEnvelope
İş akışı özellikleri tanımı.
Name | Tür | Description |
---|---|---|
id |
string |
Kaynak kimliği. |
kind |
string |
Kaynak türü. |
location |
string |
Kaynak konumu. |
name |
string |
Kaynak adını alır. |
properties |
Ek iş akışı özellikleri. |
|
type |
string |
Kaynak türünü alır. |
WorkflowEnvelopeCollection
Kudu iş akışı bilgi öğelerinin koleksiyonu.
Name | Tür | Description |
---|---|---|
nextLink |
string |
Sonraki kaynak sayfasına bağlantı. |
value |
Kaynak koleksiyonu. |
WorkflowHealth
İş akışı durumunu temsil eder.
Name | Tür | Description |
---|---|---|
error |
İş akışı hatasını alır veya ayarlar. |
|
state |
İş akışı sistem durumunu alır veya ayarlar. |
WorkflowHealthState
İş akışı sistem durumunu alır veya ayarlar.
Name | Tür | Description |
---|---|---|
Healthy |
string |
|
NotSpecified |
string |
|
Unhealthy |
string |
|
Unknown |
string |
WorkflowState
İş akışı durumu.
Name | Tür | Description |
---|---|---|
Completed |
string |
|
Deleted |
string |
|
Disabled |
string |
|
Enabled |
string |
|
NotSpecified |
string |
|
Suspended |
string |