Workflows - Generate Upgraded Definition
Bir iş akışı için yükseltilmiş tanımı oluşturur.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition?api-version=2016-06-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak grubu adı. |
subscription
|
path | True |
string |
Abonelik kimliği. |
workflow
|
path | True |
string |
İş akışı adı. |
api-version
|
query | True |
string |
API sürümü. |
İstek Gövdesi
Name | Tür | Description |
---|---|---|
targetSchemaVersion |
string |
Hedef şema sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
Generate an upgraded definition
Örnek isteği
POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/generateUpgradedDefinition?api-version=2016-06-01
{
"targetSchemaVersion": "2016-06-01"
}
Örnek yanıt
{
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"$connections": {
"defaultValue": {},
"type": "Object"
}
},
"triggers": {},
"actions": {},
"outputs": {}
}
Tanımlar
Name | Description |
---|---|
Generate |
Yükseltilen tanım oluşturmak için parametreler. |
Object |
GenerateUpgradedDefinitionParameters
Yükseltilen tanım oluşturmak için parametreler.
Name | Tür | Description |
---|---|---|
targetSchemaVersion |
string |
Hedef şema sürümü. |