We have now covered all of the essential elements needed when creating a template. The following code shows a template including parameters, variables, resources, and outputs. This code is available in the chapter-3 - listing1.txt file in the accompanying chapter code:
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"customTags": {
"type": "object",
"defaultValue": {
"Dept": "Technology",
"Environment": "Production"
}
},
"storageAccountName": { "type": "string" },
"storageAccountType": {"type": "string"}
},
"variables": {
...