Workflows - Generate Upgraded Definition
Genererar den uppgraderade definitionen för ett arbetsflöde.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/generateUpgradedDefinition?api-version=2016-06-01
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Resursgruppens namn. |
subscription
|
path | True |
string |
Prenumerations-ID:t. |
workflow
|
path | True |
string |
Arbetsflödets namn. |
api-version
|
query | True |
string |
API-versionen. |
Begärandetext
Name | Typ | Description |
---|---|---|
targetSchemaVersion |
string |
Målschemaversionen. |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
OK |
Säkerhet
azure_auth
Azure Active Directory OAuth2 Flow.
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
Name | Description |
---|---|
user_impersonation | personifiera ditt användarkonto |
Exempel
Generate an upgraded definition
Exempelbegäran
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"
}
Exempelsvar
{
"$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": {}
}
Definitioner
Name | Description |
---|---|
Generate |
Parametrarna för att generera uppgraderad definition. |
Object |
GenerateUpgradedDefinitionParameters
Parametrarna för att generera uppgraderad definition.
Name | Typ | Description |
---|---|---|
targetSchemaVersion |
string |
Målschemaversionen. |