-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDeploy-vNet-With-Subnets.json
44 lines (42 loc) · 1.24 KB
/
Deploy-vNet-With-Subnets.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
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
},
"variables": {
},
"resources": [
{
"type": "Microsoft.Network/virtualNetworks",
"name": "vNet-192_168_0_0_16",
"apiVersion": "2018-10-01",
"location": "[resourceGroup().location]",
"tags": {
"env": "prod",
"dept": "it",
"costCenter": "administrative"
},
"properties": {
"addressSpace": {
"addressPrefixes": [
"192.168.0.0/16"
]
},
"subnets": [
{
"name": "subnet-192_168_1_0",
"properties": {
"addressPrefix": "192.168.1.0/24"
}
},
{
"name": "subnet-192_168_2_0",
"properties": {
"addressPrefix": "192.168.2.0/24"
}
}
]
}
}
]
}