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

Commit

Permalink
Merge branch 'CheckObdValue' of https://github.com/Azure-Samples/MyDr…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyan99 committed Mar 24, 2016
2 parents ac94eb3 + 6ce4fb7 commit 1c424d7
Show file tree
Hide file tree
Showing 51 changed files with 5,186 additions and 2,201 deletions.
39 changes: 39 additions & 0 deletions scripts/ARM/prerequisites.nocomments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$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"
},
"resources": [
{
"apiVersion": "2015-06-15",
"name": "[variables('storageAccountName')]",
"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]"
},
"assetsContainerName": {
"type": "string",
"value": "[variables('assetsContainerName')]"
}
}
}
Loading

0 comments on commit 1c424d7

Please sign in to comment.