From 3609e294cd7f565503f81537f083dacd6b9466f4 Mon Sep 17 00:00:00 2001 From: Ercenk Keresteci Date: Fri, 24 Apr 2015 13:00:44 -0700 Subject: [PATCH] adding a new subnet for jumpbox resources --- .../jumpbox-resources-enabled.json | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/couchbase-on-ubuntu/jumpbox-resources-enabled.json b/couchbase-on-ubuntu/jumpbox-resources-enabled.json index f5600d0..011b83b 100644 --- a/couchbase-on-ubuntu/jumpbox-resources-enabled.json +++ b/couchbase-on-ubuntu/jumpbox-resources-enabled.json @@ -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" } } }]