-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvnet-subnet.json
124 lines (124 loc) · 3.93 KB
/
vnet-subnet.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vnetname": {
"type": "string"
},
"VnetaddressPrefix": {
"type": "string"
},
"mgmtsubnetsname": {
"type": "string"
},
"mgmtsubnetaddressPrefix": {
"type": "string"
},
"publicdmzinsubnetsname": {
"type": "string"
},
"publicdmzinsubnetaddressPrefix": {
"type": "string"
},
"publicdmzoutsubnetsname": {
"type": "string"
},
"publicdmzoutsubnetaddressPrefix": {
"type": "string"
},
"websubnetsname": {
"type": "string"
},
"websubnetaddressPrefix": {
"type": "string"
},
"bizsubnetsname": {
"type": "string"
},
"bizsubnetaddressPrefix": {
"type": "string"
},
"datasubnetsname": {
"type": "string"
},
"datasubnetaddressPrefix": {
"type": "string"
},
"Gatewaysubnetsname": {
"type": "string"
},
"GatewaysubnetaddressPrefix": {
"type": "string"
}
},
"variables": {},
"resources": [
{
"apiVersion": "2015-06-15",
"type": "Microsoft.Network/virtualNetworks",
"name": "[parameters('vnetname')]",
"location": "[resourceGroup().location]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"[parameters('VnetaddressPrefix')]"
]
},
"subnets": [
{
"name": "[parameters('mgmtsubnetsname')]",
"properties": {
"addressPrefix": "[parameters('mgmtsubnetaddressPrefix')]"
}
},
{
"name": "[parameters('publicdmzinsubnetsname')]",
"properties": {
"addressPrefix": "[parameters('publicdmzinsubnetaddressPrefix')]"
}
},
{
"name": "[parameters('publicdmzoutsubnetsname')]",
"properties": {
"addressPrefix": "[parameters('publicdmzoutsubnetaddressPrefix')]"
}
},
{
"name": "[parameters('websubnetsname')]",
"properties": {
"addressPrefix": "[parameters('websubnetaddressPrefix')]"
}
},
{
"name": "[parameters('bizsubnetsname')]",
"properties": {
"addressPrefix": "[parameters('bizsubnetaddressPrefix')]"
}
},
{
"name": "[parameters('datasubnetsname')]",
"properties": {
"addressPrefix": "[parameters('datasubnetaddressPrefix')]"
}
},
{
"name": "[parameters('Gatewaysubnetsname')]",
"properties": {
"addressPrefix": "[parameters('GatewaysubnetaddressPrefix')]"
}
}
]
}
}
],
"outputs": {
"VNetName": {
"type": "string",
"value": "[parameters('vnetname')]"
},
"VNetaddressPrefixes": {
"type": "string",
"value": "[parameters('VnetaddressPrefix')]"
}
}
}