Skip to content

Commit

Permalink
brian feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mumian committed Nov 15, 2016
1 parent df95d6b commit 62b9777
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
18 changes: 10 additions & 8 deletions 101-hdinsight-hbase-linux-vnet/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
"name": "[concat(parameters('clusterName'),'-vnet')]",
"addressSpacePrefix": "10.0.0.0/16",
"subnetName": "subnet1",
"subnetPrefix": "10.0.0.0/24"
"subnetPrefix": "10.0.0.0/24",
"id": "[resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name)]",
"subnet": "[concat(resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name), '/subnets/', variables('vNet').subnetName)]"
}
},
"resources": [
Expand Down Expand Up @@ -106,7 +108,7 @@
"storageProfile": {
"storageaccounts": [
{
"name": "[concat(variables('defaultStorageAccount').name,'.blob.core.windows.net')]",
"name": "[replace(replace(reference(resourceId('Microsoft.Storage/storageAccounts', variables('defaultStorageAccount')), '2016-01-01').primaryEndpoints.blob,'https://',''),'/','')]",
"isDefault": true,
"container": "[parameters('clusterName')]",
"key": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('defaultStorageAccount').name), '2016-01-01').keys[0].value]"
Expand All @@ -128,8 +130,8 @@
}
},
"virtualNetworkProfile": {
"id": "[resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name)]",
"subnet": "[concat(resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name), '/subnets/', variables('vNet').subnetName)]"
"id": "[variables('vNet').id]",
"subnet": "[variables('vNet').subnet]"
}
},
{
Expand All @@ -145,8 +147,8 @@
}
},
"virtualNetworkProfile": {
"id": "[resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name)]",
"subnet": "[concat(resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name), '/subnets/', variables('vNet').subnetName)]"
"id": "[variables('vNet').id]",
"subnet": "[variables('vNet').subnet]"
}
},
{
Expand All @@ -162,8 +164,8 @@
}
},
"virtualNetworkProfile": {
"id": "[resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name)]",
"subnet": "[concat(resourceId('Microsoft.Network/virtualNetworks', variables('vNet').name), '/subnets/', variables('vNet').subnetName)]"
"id": "[variables('vNet').id]",
"subnet": "[variables('vNet').subnet]"
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions 101-hdinsight-hbase-linux-vnet/azuredeploy.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"value": "GEN-UNIQUE"
},
"clusterLoginUserName": {
"value": "GEN-USER"
"value": "GEN-UNIQUE"
},
"clusterLoginPassword": {
"value": "GEN-PASSWORD"
},
"sshUserName": {
"value": "GEN-USER"
"value": "GEN-UNIQUE"
},
"sshPassword": {
"value": "GEN-PASSWORD"
Expand Down

0 comments on commit 62b9777

Please sign in to comment.