-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWeb-App.json
More file actions
75 lines (75 loc) · 2.25 KB
/
Copy pathWeb-App.json
File metadata and controls
75 lines (75 loc) · 2.25 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"appServiceName": {
"type": "string",
"defaultValue": "appplan-wu2-relo-qa-01",
"minLength": 1
},
"appServiceSkuName": {
"type": "string",
"defaultValue": "S1",
"metadata": {
"description": "Describes plan's pricing tier and capacity. Check details at https://azure.microsoft.com/en-us/pricing/details/app-service/"
}
},
"webAppName1": {
"type": "string",
"defaultValue": "webapp-wu2-relo-qa-01",
"minLength": 1
},
"webAppName2": {
"type": "string",
"defaultValue": "webapp-wu2-relo-qa-02",
"minLength": 1
},
"location": {
"type": "string",
"defaultValue": "westus2"
}
},
"resources": [
{
"name": "[parameters('appServiceName')]",
"type": "Microsoft.Web/serverfarms",
"location": "[parameters('location')]",
"apiVersion": "2015-08-01",
"sku": {
"name": "[parameters('appServiceSkuName')]"
},
"dependsOn": [ ],
"properties": {
"name": "[parameters('appServiceName')]",
"numberOfWorkers": 1
}
},
{
"name": "[parameters('webAppName1')]",
"type": "Microsoft.Web/sites",
"location": "[parameters('location')]",
"apiVersion": "2015-08-01",
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', parameters('appServiceName'))]"
],
"properties": {
"name": "[parameters('webAppName1')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('appServiceName'))]"
}
},
{
"name": "[parameters('webAppName2')]",
"type": "Microsoft.Web/sites",
"location": "[parameters('location')]",
"apiVersion": "2015-08-01",
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', parameters('appServiceName'))]"
],
"properties": {
"name": "[parameters('webAppName2')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('appServiceName'))]"
}
}
],
"outputs": {}
}