Created
November 10, 2015 15:26
-
-
Save rchaganti/03d26f0b77465bb4f567 to your computer and use it in GitHub Desktop.
ARM Template for deploying storage account
This file contains hidden or 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
| { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "storageAccountName": { | |
| "type": "string", | |
| "defaultValue": "MyARMDemo", | |
| "minLength": 3, | |
| "maxLength": 24, | |
| "metadata": { | |
| "description": "Unique name for the storage account." | |
| } | |
| }, | |
| "storageAccountType": { | |
| "type": "string", | |
| "defaultValue": "Standard_LRS", | |
| "allowedValues": [ | |
| "Standard_LRS", | |
| "Standard_GRS", | |
| "Standard_ZRS", | |
| "Premium_LRS", | |
| "Standard_RAGRS" | |
| ], | |
| "metadata": { | |
| "description": "Account type based on the storage redundancy requirements." | |
| } | |
| } | |
| }, | |
| "resources": [ | |
| { | |
| "name": "[parameters('storageAccountName')]", | |
| "type": "Microsoft.Storage/storageAccounts", | |
| "location": "[ResourceGroup().Location]", | |
| "apiVersion": "2015-05-01-preview", | |
| "properties": { | |
| "accountType": "[parameters('storageAccountType')]" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment