{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "nsgName": {
      "type": "string",
      "defaultValue": "nsg-ctdeploy-missing",
      "metadata": {
        "description": "NSG to inspect in the deployment resource group. The default is deliberately absent for the troubleshooting exercise."
      }
    }
  },
  "resources": [],
  "outputs": {
    "inspectedNsg": {
      "type": "object",
      "value": "[reference(resourceId('Microsoft.Network/networkSecurityGroups', parameters('nsgName')), '2024-05-01', 'Full')]"
    }
  }
}
