| 1 |
param location string = resourceGroup().location |
| 2 |
var hostingPlanName = 'hostingplan${uniqueString(resourceGroup().id)}' |
| 3 |
|
| 4 |
array(parameters('stringToConvert')) |
| 5 |
createArray(1, 2, 3) |
| 6 |
|
| 7 |
---------------------------------------------------- |
| 8 |
|
| 9 |
[ |
| 10 |
["keyword", "param"], |
| 11 |
" location ", |
| 12 |
["datatype", "string"], |
| 13 |
["operator", "="], |
| 14 |
["function", "resourceGroup"], |
| 15 |
["punctuation", "("], |
| 16 |
["punctuation", ")"], |
| 17 |
["punctuation", "."], |
| 18 |
"location\r\n", |
| 19 |
|
| 20 |
["keyword", "var"], |
| 21 |
" hostingPlanName ", |
| 22 |
["operator", "="], |
| 23 |
["interpolated-string", [ |
| 24 |
["string", "'hostingplan"], |
| 25 |
["interpolation", [ |
| 26 |
["punctuation", "${"], |
| 27 |
["expression", [ |
| 28 |
["function", "uniqueString"], |
| 29 |
["punctuation", "("], |
| 30 |
["function", "resourceGroup"], |
| 31 |
["punctuation", "("], |
| 32 |
["punctuation", ")"], |
| 33 |
["punctuation", "."], |
| 34 |
"id", |
| 35 |
["punctuation", ")"] |
| 36 |
]], |
| 37 |
["punctuation", "}"] |
| 38 |
]], |
| 39 |
["string", "'"] |
| 40 |
]], |
| 41 |
|
| 42 |
["function", "array"], |
| 43 |
["punctuation", "("], |
| 44 |
["function", "parameters"], |
| 45 |
["punctuation", "("], |
| 46 |
["string", "'stringToConvert'"], |
| 47 |
["punctuation", ")"], |
| 48 |
["punctuation", ")"], |
| 49 |
|
| 50 |
["function", "createArray"], |
| 51 |
["punctuation", "("], |
| 52 |
["number", "1"], |
| 53 |
["punctuation", ","], |
| 54 |
["number", "2"], |
| 55 |
["punctuation", ","], |
| 56 |
["number", "3"], |
| 57 |
["punctuation", ")"] |
| 58 |
] |
| 59 |
|
| 60 |
---------------------------------------------------- |
| 61 |
|
| 62 |
Checks for functions. Based upon https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-array |