Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (61 sloc) 1.72 KB
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storagename": {
"type": "string"
},
"location": {
"type": "string",
"defaultValue": "southcentralus"
},
"requestContent": {
"type": "object",
"defaultValue": {
"signedServices": "b",
"signedResourceType": "c",
"signedPermission": "r",
"signedExpiry": "2018-09-01",
"signedResourceTypes": "s"
}
}
},
"resources": [
{
"apiVersion": "2018-02-01",
"name": "[parameters('storagename')]",
"location": "[parameters('location')]",
"type": "Microsoft.Storage/storageAccounts",
"sku": {
"name": "Standard_LRS"
},
"kind": "StorageV2",
"properties": {
"supportsHttpsTrafficOnly": false,
"accessTier": "Hot",
"encryption": {
"services": {
"blob": {
"enabled": true
},
"file": {
"enabled": true
}
},
"keySource": "Microsoft.Storage"
}
},
"dependsOn": []
}
],
"outputs": {
"keys": {
"type": "object",
"value": "[listKeys(parameters('storagename'), '2018-02-01')]"
},
"accountSAS": {
"type": "object",
"value": "[listAccountSas(parameters('storagename'), '2018-02-01', parameters('requestContent'))]"
}
}
}