AZ-303 - Azure Automation
You can use Azure Monitor to monitor base-level metrics and logs for most services in Azure. You can call Azure Automation runbooks by using action groups to automate tasks based on alerts.
Alert types
You can use automation runbooks with three alert types:
- Common alerts
- Activity log alerts
- Near-real-time metric alerts
Create a runbook to handle alerts
To use Automation with alerts, you need a runbook that has logic that manages the alert JSON payload that's passed to the runbook.
Create the alert
Alerts use action groups, which are collections of actions that are triggered by the alert. Runbooks are just one of the many actions that you can use with action groups.
Under Alert Details, add an alert rule name and description and click Create alert rule.