Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Remove comments from ARM deployment scripts.
Browse files Browse the repository at this point in the history
The nocomments versions of prerequisites and scenario_complete files are
missing. If the user directly execute the Bash script, it will cause
errors due to the lack of these 2 files.
  • Loading branch information
ericsk committed Sep 5, 2016
1 parent da6c978 commit 338dfea
Show file tree
Hide file tree
Showing 2 changed files with 2,256 additions and 0 deletions.
55 changes: 55 additions & 0 deletions scripts/ARM/prerequisites.nocomments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageAccountType": {
"type": "string",
"defaultValue": "Standard_LRS",
"allowedValues": [ "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS" ]
}
},
"variables": {
"baseName": "mydriving",
"storageAccountName": "[substring(toLower(concat(variables('baseName'), 'logs', uniquestring(resourceGroup().id), '0000000000')), 0, 24)]",
"assetsContainerName": "mydrivinghdi",
"mlStorageAccountName": "[substring(toLower(concat('ml', variables('baseName'), 'logs', uniquestring(resourceGroup().id), '0000000000')), 0, 24)]"
},
"resources": [
{
"apiVersion": "2015-06-15",
"name": "[variables('storageAccountName')]",
"type": "Microsoft.Storage/storageAccounts",
"location": "[resourceGroup().location]",
"properties": { "accountType": "[parameters('storageAccountType')]" }
},
{
"apiVersion": "2015-06-15",
"name": "[variables('mlStorageAccountName')]",
"type": "Microsoft.Storage/storageAccounts",
"location": "[resourceGroup().location]",
"properties": { "accountType": "[parameters('storageAccountType')]" }
}
],
"outputs": {
"storageAccountName": {
"type": "string",
"value": "[variables('storageAccountName')]"
},
"storageAccountKey": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2015-06-15').key1]"
},
"mlStorageAccountName": {
"type": "string",
"value": "[variables('mlStorageAccountName')]"
},
"mlStorageAccountKey": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('mlStorageAccountName')), '2015-06-15').key1]"
},
"assetsContainerName": {
"type": "string",
"value": "[variables('assetsContainerName')]"
}
}
}
Loading

0 comments on commit 338dfea

Please sign in to comment.