示例代码:
"parameters": { "apiUrl": { "type": "string", "metadata": { "description": "The API URL that your logic app connects to" } }, "apiToken": { "type": "securestring", "metadata": { "description": "The OAuth 2.0 authorization token that your logic app uses to authenticate to the API" } } }, "resources": [ { "type": "Microsoft.Web/connections", "apiVersion": "2016-06-01", "name": "apiConnection", "location": "[resourceGroup().location]", "properties": { "api": { "id": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/',resourceGroup().location, '/managedApis/', parameters('apiName'))]" }, "parameterValues": { "url": "[parameters('apiUrl')]", "token": "[parameters('apiToken')]" } } } ]