-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathvnet-basic.json
55 lines (55 loc) · 1.62 KB
/
vnet-basic.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
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string",
"defaultvalue": "demo-vnet"
},
"location": {
"type": "string",
"defaultvalue": "australiaeast"
},
"addressPrefix": {
"type": "string",
"defaultvalue": "10.1.0.0/16"
},
"subnetName": {
"type": "string",
"defaultvalue": "Subnet"
},
"subnetAddressPrefix": {
"type": "string",
"defaultvalue": "10.1.0.0/24"
},
"enableDdosProtection": {
"type": "bool",
"defaultvalue": false
}
},
"variables":{},
"resources": [
{
"apiVersion": "2018-04-01",
"name": "[parameters('name')]",
"type": "Microsoft.Network/virtualNetworks",
"location": "[parameters('location')]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"[parameters('addressPrefix')]"
]
},
"subnets": [
{
"name": "[parameters('subnetName')]",
"properties": {
"addressPrefix": "[parameters('subnetAddressPrefix')]"
}
}
],
"enableDdosProtection": "[parameters('enableDdosProtection')]"
}
}
]
}