-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazurestorage.json
58 lines (52 loc) · 1.61 KB
/
azurestorage.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"apiProfile": "2019-03-01-hybrid",
"functions": [],
"parameters": {
"storageAccountType": {
"type": "string",
"allowedValues": [
"Standard_LRS",
"Standard_GRS"
],
"defaultValue": "Standard_LRS",
"metadata": {
"description": "this is a storage account sku type"
}
},
"storageAccountName": {
"defaultValue": "testazurestoragefeli12",
"type": "string",
"metadata": {
"description": "name of storage account"
}
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"name": "[parameters('storageAccountName')]",
"location": "[resourceGroup().location]",
"tags": {
"dept": "cloud"
},
"sku": {
"name": "[parameters('storageAccountType')]"
},
"kind": "StorageV2",
"properties": {
"accessTier": "Hot",
"supportsHttpsTrafficOnly": true,
"allowBlobPublicAccess":true
}
}
],
"outputs": {
"storageBlobAccess": {
"type": "string",
"value": "[reference('testazurestoragefeli12').provisioningState]"
}
}
}