tests/functional/Microsoft.Network/networkSecurityGroups/deploy/deploy.json

{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
        "location": {
            "type": "string"
        },
        "networkSecurityGroupName": {
            "type": "string"
        }
    },
    "variables": {},
    "resources": [
        {
        "type": "Microsoft.Network/networkSecurityGroups",
        "apiVersion": "2021-05-01",
        "name": "[parameters('networkSecurityGroupName')]",
        "location": "[parameters('location')]"
        }
    ]
}