{
  "properties": {
    "displayName": "Audit virtual machines without disaster recovery configured",
    "policyType": "BuiltIn",
    "mode": "All",
    "description": "Audit virtual machines which do not have disaster recovery configured. To learn more about disaster recovery, visit https://aka.ms/asr-doc.",
    "metadata": {
      "version": "1.0.0",
      "category": "Compute"
    },
    "parameters": {},
    "policyRule": {
      "if": {
        "field": "type",
        "in": [
          "Microsoft.Compute/virtualMachines",
          "Microsoft.ClassicCompute/virtualMachines"
        ]
      },
      "then": {
        "effect": "auditIfNotExists",
        "details": {
          "type": "Microsoft.Resources/links",
          "existenceCondition": {
            "field": "name",
            "like": "ASR-Protect-*"
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/0015ea4d-51ff-4ce3-8d8c-f3f8f0179a56",
  "name": "0015ea4d-51ff-4ce3-8d8c-f3f8f0179a56"
}