This repository has been archived by the owner on Oct 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
2 changed files
with
2,256 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')]" | ||
} | ||
} | ||
} |
Oops, something went wrong.