-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-base.json
106 lines (99 loc) · 3.58 KB
/
template-base.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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
},
"variables": {
},
"resources": [
{
"apiVersion": "2017-05-10",
"name": "template-infra",
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/KursLabIgor/azure_training/master/template-infra.json",
"contentVersion": "1.0.0.0"
},
"parameters": {
}
}
},
{
"apiVersion": "2017-05-10",
"name": "template-jumpbox",
"type": "Microsoft.Resources/deployments",
"properties":{
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/KursLabIgor/azure_training/master/template-jbox.json",
"contentVersion": "1.0.0.0"
},
"parameters":{
"existingVnetName": {
"value": "[reference('template-infra').outputs.vnetName.value]"
},
"existingSubnetName":{
"value": "[reference('template-infra').outputs.subnetRdp.value]"
},
"adminPassword":{
"value": "I73r11484it0"
}
}
}
},
{
"apiVersion": "2017-05-10",
"name": "template-sql",
"type": "Microsoft.Resources/deployments",
"properties":{
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/KursLabIgor/azure_training/master/template-sql-server.json",
"contentVersion": "1.0.0.0"
},
"parameters":{
"prefix": {
"value": "week1"
},
"databaseName":{
"value": "simpledb"
},
"administratorLoginPassword":{
"value": "I73r11484it0"
}
}
}
},
{
"apiVersion": "2017-05-10",
"name": "template-frontend",
"type": "Microsoft.Resources/deployments",
"properties":{
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/KursLabIgor/azure_training/master/template-plb-vmss.json",
"contentVersion": "1.0.0.0"
},
"parameters":{
"vmssName": {
"value": "week1"
},
"existingWebSubnet":{
"value": "[reference('template-infra').outputs.subnetWeb.value]"
},
"existingVnet":{
"value": "[reference('template-infra').outputs.vnetName.value]"
},
"adminPassword":{
"value": "I73r11484it0"
},
"dbConnectionString":{
"value": "[reference('template-sql').outputs.DbAdoConnString.value]"
}
}
}
}
]
}