forked from loriot/AzureSolutionTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunction.json
27 lines (27 loc) · 970 Bytes
/
function.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"solutionPrefix": {
"type": "string",
"metadata": {
"description": "Prefix used in resource names. Should be unique enough since this ends up being used also in domain names."
}
}
},
"variables": {},
"resources": [
{
"name": "deployFunction",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2014-04-01-preview",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[listsecrets(resourceId('Microsoft.Web/sites/functions', concat(parameters('solutionPrefix'), 'function'), 'Setup'),'2015-08-01').trigger_url]",
"contentVersion": "1.0.0.0"
}
}
}
]
}