Skip to content

Commit 34b9642

Browse files
author
Dipak V
committed
Removed Public IP from bootstorm template
1 parent 4059f8d commit 34b9642

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

bootstorm-vm-boot-time/azuredeploy.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040
"subnetName": "[concat('vsn', resourceGroup().name)]",
4141
"subnetPrefix": "10.0.0.0/24",
4242
"storageAccountType": "Standard_LRS",
43-
"publicIPAddressType": "Dynamic",
44-
"publicIPAddressName": "[concat('ip', resourceGroup().name)]",
45-
"uniqueDnsNameForPublicIP": "[concat('dns', resourceGroup().name)]",
4643
"uniqueStorageAccountName": "[concat('sa', resourceGroup().name)]",
4744
"uniqueStorageAccountContainerName": "[concat('sc', resourceGroup().name)]",
4845
"vmOsSku": "2012-R2-Datacenter",
@@ -72,18 +69,6 @@
7269
"accountType": "[variables('storageAccountType')]"
7370
}
7471
},
75-
{
76-
"apiVersion": "[variables('apiVersionNRP')]",
77-
"type": "Microsoft.Network/publicIPAddresses",
78-
"name": "[variables('publicIPAddressName')]",
79-
"location": "[variables('location')]",
80-
"properties": {
81-
"publicIPAllocationMethod": "[variables('publicIPAddressType')]",
82-
"dnsSettings": {
83-
"domainNameLabel": "[variables('uniqueDnsNameForPublicIP')]"
84-
}
85-
}
86-
},
8772
{
8873
"apiVersion": "[variables('apiVersionNRP')]",
8974
"type": "Microsoft.Network/networkSecurityGroups",
@@ -138,18 +123,14 @@
138123
"name": "[variables('vmNicName')]",
139124
"location": "[variables('location')]",
140125
"dependsOn": [
141-
"[concat('Microsoft.Network/publicIPAddresses/',variables('publicIPAddressName'))]",
142126
"[concat('Microsoft.Network/virtualNetworks/',variables('virtualNetworkName'))]"
143127
],
144128
"properties": {
145129
"ipConfigurations": [
146130
{
147-
"name": "ipconfigpublic",
131+
"name": "ipconfigpri",
148132
"properties": {
149133
"privateIPAllocationMethod": "Dynamic",
150-
"publicIPAddress": {
151-
"id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"
152-
},
153134
"subnet": {
154135
"id": "[variables('subnetRef')]"
155136
}

0 commit comments

Comments
 (0)