-
Notifications
You must be signed in to change notification settings - Fork 1
/
rubrik_cloudout_arm.template
76 lines (74 loc) · 2.34 KB
/
rubrik_cloudout_arm.template
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageAccountName": {
"type": "String"
},
"accountType": {
"type": "String",
"allowedValues": [
"Standard_LRS",
"Standard_GRS",
"Standard_RAGRS"
]
},
"storageTier": {
"type": "String",
"allowedValues": [
"Hot",
"Cool"
]
},
"containerName": {
"type": "String"
}
},
"variables": {
"storageAccount": {
"name": "[parameters('storageAccountName')]"
},
"resourceId": "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccount').name)]",
"apiVersion": "[providers('Microsoft.Storage', 'storageAccounts').apiVersions[0]]"
},
"resources": [
{
"type": "Microsoft.Storage/storageAccounts",
"sku": {
"name": "[parameters('accountType')]"
},
"kind": "BlobStorage",
"name": "[toLower(parameters('storageAccountName'))]",
"apiVersion": "2018-02-01",
"location": "[resourceGroup().location]",
"properties": {
"accessTier": "[parameters('storageTier')]",
"supportsHttpsTrafficOnly": "false"
},
"resources": [
{
"type": "blobServices/containers",
"name": "[toLower(concat('default/', parameters('containerName')))]",
"apiVersion": "2018-03-01-preview",
"dependsOn": [
"[parameters('storageAccountName')]"
]
}
]
}
],
"outputs": {
"storageAccountName": {
"type": "String",
"value": "[toLower(parameters('storageAccountName'))]"
},
"containerName": {
"type": "String",
"value": "[toLower(parameters('containerName'))]"
},
"storageAccountKey": {
"type": "String",
"value": "[listKeys(variables('resourceId'), variables('apiVersion')).keys[0].value]"
}
}
}