-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdisksSelector.json
162 lines (162 loc) · 26.3 KB
/
disksSelector.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"numDataDisks": {
"type": "string",
"allowedValues": [
"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "32", "64"
],
"metadata": {
"description": "This parameter allows the user to select the number of disks they want"
}
},
"diskStorageAccountName": {
"type": "string",
"metadata": {
"description": "Name of the storage account where the data disks are stored"
}
},
"diskCaching": {
"type": "string",
"allowedValues": [
"None",
"ReadOnly",
"ReadWrite"
],
"metadata": {
"description": "Caching type for the data disks"
}
},
"diskSizeGB": {
"type": "int",
"minValue": 1,
"maxValue": 1023,
"metadata": {
"description": "Size of the data disks"
}
},
"storageUrlSuffix": {
"type": "string",
"defaultValue": "', parameters('storageUrlSuffix'), '",
"metadata": {
"description": "Allows the usage of different data centers. (Gov, German, China...)"
}
}
},
"variables": {
"dataDisks": {
"01": [ { "name": "datadisk01", "lun": 0, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk01.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"02": [ { "name": "datadisk02", "lun": 1, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk02.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"03": [ { "name": "datadisk03", "lun": 2, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk03.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"04": [ { "name": "datadisk04", "lun": 3, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk04.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"05": [ { "name": "datadisk05", "lun": 4, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk05.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"06": [ { "name": "datadisk06", "lun": 5, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk06.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"07": [ { "name": "datadisk07", "lun": 6, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk07.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"08": [ { "name": "datadisk08", "lun": 7, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk08.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"09": [ { "name": "datadisk09", "lun": 8, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk09.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"10": [ { "name": "datadisk10", "lun": 9, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk10.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"11": [ { "name": "datadisk11", "lun": 10, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk11.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"12": [ { "name": "datadisk12", "lun": 11, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk12.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"13": [ { "name": "datadisk13", "lun": 12, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk13.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"14": [ { "name": "datadisk14", "lun": 13, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk14.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"15": [ { "name": "datadisk15", "lun": 14, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk15.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"16": [ { "name": "datadisk16", "lun": 15, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk16.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"17": [ { "name": "datadisk17", "lun": 16, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk17.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"18": [ { "name": "datadisk18", "lun": 17, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk18.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"19": [ { "name": "datadisk19", "lun": 18, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk19.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"20": [ { "name": "datadisk20", "lun": 19, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk20.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"21": [ { "name": "datadisk21", "lun": 20, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk21.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"22": [ { "name": "datadisk22", "lun": 21, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk22.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"23": [ { "name": "datadisk23", "lun": 22, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk23.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"24": [ { "name": "datadisk24", "lun": 23, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk24.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"25": [ { "name": "datadisk25", "lun": 24, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk25.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"26": [ { "name": "datadisk26", "lun": 25, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk26.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"27": [ { "name": "datadisk27", "lun": 26, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk27.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"28": [ { "name": "datadisk28", "lun": 27, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk28.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"29": [ { "name": "datadisk29", "lun": 28, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk29.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"30": [ { "name": "datadisk30", "lun": 29, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk30.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"31": [ { "name": "datadisk31", "lun": 30, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk31.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"32": [ { "name": "datadisk32", "lun": 31, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk32.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"33": [ { "name": "datadisk33", "lun": 32, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk33.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"34": [ { "name": "datadisk34", "lun": 33, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk34.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"35": [ { "name": "datadisk35", "lun": 34, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk35.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"36": [ { "name": "datadisk36", "lun": 35, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk36.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"37": [ { "name": "datadisk37", "lun": 36, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk37.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"38": [ { "name": "datadisk38", "lun": 37, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk38.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"39": [ { "name": "datadisk39", "lun": 38, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk39.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"40": [ { "name": "datadisk40", "lun": 39, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk40.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"41": [ { "name": "datadisk41", "lun": 40, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk41.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"42": [ { "name": "datadisk42", "lun": 41, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk42.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"43": [ { "name": "datadisk43", "lun": 42, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk43.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"44": [ { "name": "datadisk44", "lun": 43, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk44.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"45": [ { "name": "datadisk45", "lun": 44, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk45.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"46": [ { "name": "datadisk46", "lun": 45, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk46.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"47": [ { "name": "datadisk47", "lun": 46, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk47.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"48": [ { "name": "datadisk48", "lun": 47, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk48.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"49": [ { "name": "datadisk49", "lun": 48, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk49.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"50": [ { "name": "datadisk50", "lun": 49, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk50.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"51": [ { "name": "datadisk51", "lun": 50, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk51.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"52": [ { "name": "datadisk52", "lun": 51, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk52.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"53": [ { "name": "datadisk53", "lun": 52, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk53.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"54": [ { "name": "datadisk54", "lun": 53, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk54.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"55": [ { "name": "datadisk55", "lun": 54, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk55.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"56": [ { "name": "datadisk56", "lun": 55, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk56.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"57": [ { "name": "datadisk57", "lun": 56, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk57.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"58": [ { "name": "datadisk58", "lun": 57, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk58.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"59": [ { "name": "datadisk59", "lun": 58, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk59.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"60": [ { "name": "datadisk60", "lun": 59, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk60.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"61": [ { "name": "datadisk61", "lun": 60, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk61.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"62": [ { "name": "datadisk62", "lun": 61, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk62.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"63": [ { "name": "datadisk63", "lun": 62, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk63.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ],
"64": [ { "name": "datadisk64", "lun": 63, "vhd": { "uri": "[concat('http://', parameters('diskStorageAccountName'),'.blob.', parameters('storageUrlSuffix'), '/vhds/', 'datadisk64.vhd')]" }, "createOption": "Empty", "caching": "[parameters('diskCaching')]", "diskSizeGB": "[parameters('diskSizeGB')]" } ]
},
"_comment2": "The delta arrays below build the difference from 0 to 4, 4 to 8, 8 to 12 disks and so on",
"diskDeltas": {
"4delta": [ "[variables('dataDisks')['01'][0]]", "[variables('dataDisks')['02'][0]]", "[variables('dataDisks')['03'][0]]", "[variables('dataDisks')['04'][0]]" ],
"8delta": [ "[variables('dataDisks')['05'][0]]", "[variables('dataDisks')['06'][0]]", "[variables('dataDisks')['07'][0]]", "[variables('dataDisks')['08'][0]]" ],
"12delta": [ "[variables('dataDisks')['09'][0]]", "[variables('dataDisks')['10'][0]]", "[variables('dataDisks')['11'][0]]", "[variables('dataDisks')['12'][0]]" ],
"16delta": [ "[variables('dataDisks')['13'][0]]", "[variables('dataDisks')['14'][0]]", "[variables('dataDisks')['15'][0]]", "[variables('dataDisks')['16'][0]]" ],
"32delta": [ "[variables('dataDisks')['17'][0]]", "[variables('dataDisks')['18'][0]]", "[variables('dataDisks')['19'][0]]", "[variables('dataDisks')['20'][0]]",
"[variables('dataDisks')['21'][0]]", "[variables('dataDisks')['22'][0]]", "[variables('dataDisks')['23'][0]]", "[variables('dataDisks')['24'][0]]",
"[variables('dataDisks')['25'][0]]", "[variables('dataDisks')['26'][0]]", "[variables('dataDisks')['27'][0]]", "[variables('dataDisks')['28'][0]]",
"[variables('dataDisks')['29'][0]]", "[variables('dataDisks')['30'][0]]", "[variables('dataDisks')['31'][0]]", "[variables('dataDisks')['32'][0]]" ],
"64delta": [ "[variables('dataDisks')['33'][0]]", "[variables('dataDisks')['34'][0]]", "[variables('dataDisks')['35'][0]]", "[variables('dataDisks')['36'][0]]",
"[variables('dataDisks')['37'][0]]", "[variables('dataDisks')['38'][0]]", "[variables('dataDisks')['39'][0]]", "[variables('dataDisks')['40'][0]]",
"[variables('dataDisks')['41'][0]]", "[variables('dataDisks')['42'][0]]", "[variables('dataDisks')['43'][0]]", "[variables('dataDisks')['44'][0]]",
"[variables('dataDisks')['45'][0]]", "[variables('dataDisks')['46'][0]]", "[variables('dataDisks')['47'][0]]", "[variables('dataDisks')['48'][0]]",
"[variables('dataDisks')['49'][0]]", "[variables('dataDisks')['50'][0]]", "[variables('dataDisks')['51'][0]]", "[variables('dataDisks')['52'][0]]",
"[variables('dataDisks')['53'][0]]", "[variables('dataDisks')['54'][0]]", "[variables('dataDisks')['55'][0]]", "[variables('dataDisks')['56'][0]]",
"[variables('dataDisks')['57'][0]]", "[variables('dataDisks')['58'][0]]", "[variables('dataDisks')['59'][0]]", "[variables('dataDisks')['60'][0]]",
"[variables('dataDisks')['61'][0]]", "[variables('dataDisks')['62'][0]]", "[variables('dataDisks')['63'][0]]", "[variables('dataDisks')['64'][0]]" ]
},
"_comment1": "disksArray is ugly :( but it gets the job done. If anyone can make it better, please do!",
"disksArray": {
"1": "[concat(variables('dataDisks')['01'])]",
"2": "[concat(variables('dataDisks')['01'], variables('dataDisks')['02'])]",
"3": "[concat(variables('dataDisks')['01'], variables('dataDisks')['02'], variables('dataDisks')['03'])]",
"4": "[concat(variables('diskDeltas')['4delta'])]",
"5": "[concat(variables('diskDeltas')['4delta'], variables('dataDisks')['05'])]",
"6": "[concat(variables('diskDeltas')['4delta'], variables('dataDisks')['05'], variables('dataDisks')['06'])]",
"7": "[concat(variables('diskDeltas')['4delta'], variables('dataDisks')['05'], variables('dataDisks')['06'], variables('dataDisks')['07'])]",
"8": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'])]",
"9": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('dataDisks')['09'])]",
"10": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('dataDisks')['09'], variables('dataDisks')['10'])]",
"11": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('dataDisks')['09'], variables('dataDisks')['10'], variables('dataDisks')['11'])]",
"12": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'])]",
"13": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'], variables('dataDisks')['13'])]",
"14": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'], variables('dataDisks')['13'], variables('dataDisks')['14'])]",
"15": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'], variables('dataDisks')['13'], variables('dataDisks')['14'], variables('dataDisks')['15'])]",
"16": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'], variables('diskDeltas')['16delta'])]",
"32": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'], variables('diskDeltas')['16delta'], variables('diskDeltas')['32delta'])]",
"64": "[concat(variables('diskDeltas')['4delta'], variables('diskDeltas')['8delta'], variables('diskDeltas')['12delta'], variables('diskDeltas')['16delta'], variables('diskDeltas')['32delta'], variables('diskDeltas')['64delta'])]"
}
},
"resources": [],
"outputs": {
"dataDiskArray": {
"type": "array",
"value": "[variables('disksArray')[parameters('numDataDisks')]]"
}
}
}