-
Notifications
You must be signed in to change notification settings - Fork 243
/
Copy pathazuredeploy.json
45 lines (45 loc) · 1.42 KB
/
azuredeploy.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"webAppName": {
"type": "string"
}
},
"variables": {
"webAppPlan": "[concat(parameters('webAppName'), '-plan')]",
"webAppPlanId": "[resourceId('Microsoft.Web/serverfarms', variables('webAppPlan'))]"
},
"resources": [
{
"apiVersion": "2016-08-01",
"name": "[parameters('webAppName')]",
"type": "Microsoft.Web/sites",
"properties": {
"name": "[parameters('webAppName')]",
"serverFarmId": "[variables('webAppPlanId')]",
"hostingEnvironment": ""
},
"location": "[resourceGroup().location]",
"dependsOn": [
"[variables('webAppPlanId')]"
]
},
{
"apiVersion": "2016-09-01",
"name": "[variables('webAppPlan')]",
"type": "Microsoft.Web/serverfarms",
"location": "[resourceGroup().location]",
"properties": {
"name": "[variables('webAppPlan')]",
"workerSizeId": "0",
"reserved": false,
"numberOfWorkers": "1"
},
"sku": {
"Tier": "Free",
"Name": "F1"
}
}
]
}