Skip to content

Commit

Permalink
Update azuredeploy.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoore-msft authored Jan 8, 2020
1 parent fd88393 commit 0ef66fe
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions 101-custom-rp-with-logicapp/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": {
"type": "string",
"allowedValues": [
"australiaeast",
"australiasoutheast",
"eastus",
"westeurope"
],
"westus2",
"westeurope",
"northeurope",
"canadacentral",
"canadaeast",
"japaneast",
"japanwest" ],
"metadata": {
"description": "Location for the resources."
}
Expand Down Expand Up @@ -137,15 +143,15 @@
"name": "[parameters('customResourceProviderName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Logic/workflows/', parameters('logicAppName'))]"
"[resourceId('Microsoft.Logic/workflows', parameters('logicAppName'))]"
],
"properties": {
"resourceTypes": [
{
"name": "customResources",
"mode": "Secure",
"routingType": "Webhook,Cache",
"endpoint": "[listCallbackURL(concat(resourceId('Microsoft.Logic/workflows', parameters('logicAppName')), '/triggers/CustomProviderWebhook'), '2017-07-01').value]"
"endpoint": "[listCallbackURL(resourceId('Microsoft.Logic/workflows/triggers', parameters('logicAppName'), 'CustomProviderWebhook'), '2019-05-01').value]"
}
]
}
Expand All @@ -156,7 +162,7 @@
"name": "[concat(parameters('customResourceProviderName'), '/', parameters('customResourceName'))]",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.CustomProviders/resourceProviders/', parameters('customResourceProviderName'))]"
"[resourceId('Microsoft.CustomProviders/resourceProviders', parameters('customResourceProviderName'))]"
],
"properties": {
"myCustomInputProperty": "myCustomInputValue",
Expand All @@ -172,4 +178,4 @@
"value": "[reference(parameters('customResourceName'), '2018-09-01-preview', 'Full')]"
}
}
}
}

0 comments on commit 0ef66fe

Please sign in to comment.