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

Commit 338dfea

Browse files
committed
Remove comments from ARM deployment scripts.
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.
1 parent da6c978 commit 338dfea

2 files changed

Lines changed: 2256 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"storageAccountType": {
6+
"type": "string",
7+
"defaultValue": "Standard_LRS",
8+
"allowedValues": [ "Standard_LRS", "Standard_ZRS", "Standard_GRS", "Standard_RAGRS", "Premium_LRS" ]
9+
}
10+
},
11+
"variables": {
12+
"baseName": "mydriving",
13+
"storageAccountName": "[substring(toLower(concat(variables('baseName'), 'logs', uniquestring(resourceGroup().id), '0000000000')), 0, 24)]",
14+
"assetsContainerName": "mydrivinghdi",
15+
"mlStorageAccountName": "[substring(toLower(concat('ml', variables('baseName'), 'logs', uniquestring(resourceGroup().id), '0000000000')), 0, 24)]"
16+
},
17+
"resources": [
18+
{
19+
"apiVersion": "2015-06-15",
20+
"name": "[variables('storageAccountName')]",
21+
"type": "Microsoft.Storage/storageAccounts",
22+
"location": "[resourceGroup().location]",
23+
"properties": { "accountType": "[parameters('storageAccountType')]" }
24+
},
25+
{
26+
"apiVersion": "2015-06-15",
27+
"name": "[variables('mlStorageAccountName')]",
28+
"type": "Microsoft.Storage/storageAccounts",
29+
"location": "[resourceGroup().location]",
30+
"properties": { "accountType": "[parameters('storageAccountType')]" }
31+
}
32+
],
33+
"outputs": {
34+
"storageAccountName": {
35+
"type": "string",
36+
"value": "[variables('storageAccountName')]"
37+
},
38+
"storageAccountKey": {
39+
"type": "string",
40+
"value": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2015-06-15').key1]"
41+
},
42+
"mlStorageAccountName": {
43+
"type": "string",
44+
"value": "[variables('mlStorageAccountName')]"
45+
},
46+
"mlStorageAccountKey": {
47+
"type": "string",
48+
"value": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('mlStorageAccountName')), '2015-06-15').key1]"
49+
},
50+
"assetsContainerName": {
51+
"type": "string",
52+
"value": "[variables('assetsContainerName')]"
53+
}
54+
}
55+
}

0 commit comments

Comments
 (0)