adding a new subnet for jumpbox resources
This commit is contained in:
Родитель
1b60164724
Коммит
3609e294cd
|
@ -35,6 +35,27 @@
|
|||
"storageAccountName": "[concat(parameters('storageAccountNamePrefix'), 'jb')]"
|
||||
},
|
||||
"resources": [{
|
||||
"apiVersion": "2014-12-01-preview",
|
||||
"type": "Microsoft.Network/virtualNetworks",
|
||||
"name": "jbsubnet",
|
||||
"location": "[parameters('commonSettings').region]",
|
||||
"dependsOn": [
|
||||
"[concat('Microsoft.Network/virtualNetworks/parameters('networkSettings')', '.virtualNetworkName', 'publicIP')]"
|
||||
],
|
||||
"properties": {
|
||||
"addressSpace": {
|
||||
"addressPrefixes": [
|
||||
"[parameters('networkSettings').addressPrefix]"
|
||||
]
|
||||
},
|
||||
"subnets": [{
|
||||
"name": "jbsubnet",
|
||||
"properties": {
|
||||
"addressPrefix": "10.10.0.0/29"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}, {
|
||||
"type": "Microsoft.Storage/storageAccounts",
|
||||
"name": "[variables('storageAccountName')]",
|
||||
"apiVersion": "2014-12-01-preview",
|
||||
|
@ -67,7 +88,7 @@
|
|||
"id": "[resourceId('Microsoft.Network/publicIPAddresses','publicIP')]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[variables('subnetRef')]"
|
||||
"id": "jbsubnet"
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
@ -138,7 +159,7 @@
|
|||
"id": "[resourceId('Microsoft.Network/publicIPAddresses','publicIPWin')]"
|
||||
},
|
||||
"subnet": {
|
||||
"id": "[variables('subnetRef')]"
|
||||
"id": "jbsubnet"
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
|
Загрузка…
Ссылка в новой задаче