{ "id": "/subscriptions//resourceGroups//providers/microsoft.insights/metricAlerts/Test - Heartbeat Alert", "name": "Test - Heartbeat Alert", "type": "Microsoft.Insights/metricAlerts", "location": "global", "properties": { "description": "Test - Heartbeat Alert", "severity": 3, "enabled": true, "scopes": [ "/subscriptions//resourceGroups//providers/Microsoft.OperationalInsights/workspaces/" ], "evaluationFrequency": "PT1M", "windowSize": "PT5M", "criteria": { "allOf": [ { "threshold": 0, "name": "Metric1", "metricNamespace": "Microsoft.OperationalInsights/workspaces", "metricName": "Heartbeat", "dimensions": [ { "name": "Computer", "operator": "Include", "values": [ "*" ] } ], "operator": "LessThanOrEqual", "timeAggregation": "Total", "criterionType": "StaticThresholdCriterion" } ], "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria" }, "autoMitigate": true, "targetResourceType": "Microsoft.OperationalInsights/workspaces", "targetResourceRegion": "uksouth", "actions": [] } }