Created
January 26, 2017 12:39
-
-
Save marrobi/1475d97916ac750a1ef47a58d72efff0 to your computer and use it in GitHub Desktop.
VNet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
}, | |
"variables": { | |
"VNetPrefix": "10.0.0.0/16", | |
"VNetSubnet1Name": "Subnet-1", | |
"VNetSubnet1Prefix": "10.0.0.0/24" | |
}, | |
"resources": [ | |
{ | |
"name": "VNet", | |
"type": "Microsoft.Network/virtualNetworks", | |
"location": "[resourceGroup().location]", | |
"apiVersion": "2016-03-30", | |
"dependsOn": [ ], | |
"tags": { | |
"displayName": "VNet" | |
}, | |
"properties": { | |
"addressSpace": { | |
"addressPrefixes": [ | |
"[variables('VNetPrefix')]" | |
] | |
}, | |
"subnets": [ | |
{ | |
"name": "[variables('VNetSubnet1Name')]", | |
"properties": { | |
"addressPrefix": "[variables('VNetSubnet1Prefix')]" | |
} | |
} | |
] | |
} | |
} | |
], | |
"outputs": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment