Web Apps - Deploy Workflow Artifacts
Web sitesi veya dağıtım yuvası için yapıtları oluşturur açıklaması.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployWorkflowArtifacts?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: |
subscription
|
path | True |
string |
Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örn. 000000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API Sürümü |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
appSettings |
İş akışının uygulama ayarları. |
|
files |
object |
Uygulamanın dosyaları. |
filesToDelete |
string[] |
Silinecek uygulamanın dosyaları. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Dağıtılan yapıtlar. |
|
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
Delete workflow artifacts |
Deploys workflow artifacts |
Delete workflow artifacts
Sample Request
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/deployWorkflowArtifacts?api-version=2023-12-01
{
"filesToDelete": [
"test/workflow.json",
"test/"
]
}
Sample Response
Deploys workflow artifacts
Sample Request
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/testsite2/deployWorkflowArtifacts?api-version=2023-12-01
{
"files": {
"test1/workflow.json": {
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {},
"contentVersion": "1.0.0.0",
"outputs": {},
"triggers": {
"When_events_are_available_in_Event_hub": {
"inputs": {
"parameters": {
"eventHubName": "test123"
},
"serviceProviderConfiguration": {
"connectionName": "eventHub",
"operationId": "receiveEvents",
"serviceProviderId": "/serviceProviders/eventHub"
}
},
"splitOn": "@triggerOutputs()?['body']",
"type": "ServiceProvider"
}
}
},
"kind": "Stateful"
},
"connections.json": {
"serviceProviderConnections": {
"eventHub": {
"parameterValues": {
"connectionString": "@appsetting('eventHub_connectionString')"
},
"serviceProvider": {
"id": "/serviceProviders/eventHub"
},
"displayName": "example1"
}
},
"managedApiConnections": {}
}
},
"appSettings": {
"eventHub_connectionString": "Endpoint=sb://example.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=EXAMPLE1a2b3c4d5e6fEXAMPLE="
}
}
Sample Response
Tanımlar
Name | Description |
---|---|
Default |
hata yanıtı App Service. |
Details | |
Error |
Hata modeli. |
Object | |
Workflow |
İş akışı filtresi. |
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. |
Object
WorkflowArtifacts
İş akışı filtresi.
Name | Tür | Description |
---|---|---|
appSettings |
İş akışının uygulama ayarları. |
|
files |
object |
Uygulamanın dosyaları. |
filesToDelete |
string[] |
Silinecek uygulamanın dosyaları. |