{
    "properties": {
        "displayName": "Audit use of classic virtual machines",
        "mode": "All",
        "description": "Use new Azure Resource Manager v2 for your virtual machines to provide security enhancements such as: stronger access control (RBAC), better auditing, ARM-based deployment and governance, access to managed identities, access to key vault for secrets, Azure AD-based authentication and support for tags and resource groups for easier security management",
        "metadata": {
            "category": "Compute"
        },
        "policyRule": {
            "if": {
              "field": "type",
              "equals": "Microsoft.classicCompute/virtualMachines"
            },
            "then": {
              "effect": "Audit"
            }
        }
    }
}
