{ "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "name": { "type": "string", "defaultValue": "packer-acceptance-test" }, "regionId": { "type": "string", "defaultValue": "southcentralus" } }, "resources": [ { "apiVersion": "2018-10-15-preview", "name": "[parameters('name')]", "type": "Microsoft.DevTestLab/labs", "location": "[parameters('regionId')]", "tags": { "env": "packer" }, "properties": { "labStorageType": "Premium" }, "resources": [ { "apiVersion": "2018-10-15-preview", "name": "LabVmsShutdown", "location": "[parameters('regionId')]", "type": "schedules", "dependsOn": [ "[resourceId('Microsoft.DevTestLab/labs', parameters('name'))]" ], "properties": { "status": "Enabled", "timeZoneId": "Pacific Standard Time", "dailyRecurrence": { "time": "1900" }, "taskType": "LabVmsShutdownTask", "notificationSettings": { "status": "Disabled", "timeInMinutes": 30 } } }, { "apiVersion": "2018-10-15-preview", "name": "[concat('Dtl', parameters('name'))]", "type": "virtualNetworks", "location": "[parameters('regionId')]", "dependsOn": [ "[resourceId('Microsoft.DevTestLab/labs', parameters('name'))]" ] }, { "apiVersion": "2018-10-15-preview", "name": "Public Environment Repo", "type": "artifactSources", "location": "[parameters('regionId')]", "dependsOn": [ "[resourceId('Microsoft.DevTestLab/labs', parameters('name'))]" ], "properties": { "status": "Enabled" } } ] } ] }