June 2020
Intermediate to advanced
432 pages
11h 57m
English
Since November 2019, ARM templates no longer have to be pure JSON. Several other constructs are now allowed to make working with ARM templates easier.
To comment the rest of a line, // is used, or to comment a block, the /* */ notation is used. This makes the following snippets both valid as part of an ARM template:
{ “appServiceName”: { // this is a single line comment “type”: “string” /* This is a multi-line comment */ } }
Another deviation from JSON is that ARM templates allow for a multi-line string. When using these from the Azure CLI, this has to be enabled by specifying the --handle-extended-json-format switch. To use these and other new features, a new JSON schema has to be referenced from the template. This ...
Read now
Unlock full access