Skip to content

Commit 2643125

Browse files
authored
Merge pull request #223629 from nolavime/patch-100
moved section
2 parents 809b11e + 29b41eb commit 2643125

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

articles/azure-monitor/alerts/alerts-manage-alert-instances.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,21 @@ The **alerts details** page provides details about the selected alert.
3434
- To see all closed alerts, select the **History** tab.
3535

3636
:::image type="content" source="media/alerts-managing-alert-instances/alerts-details-page.png" alt-text="Screenshot of the alerts details page in the Azure portal.":::
37+
38+
## Manage your alerts programmatically
39+
40+
You can query your alerts instances to create custom views outside of the Azure portal, or to analyze your alerts to identify patterns and trends.
41+
We recommended that you use [Azure Resource Graphs](https://portal.azure.com/?feature.customportal=false#blade/HubsExtension/ArgQueryBlade) with the 'AlertsManagementResources' schema for managing alerts across multiple subscriptions. For a sample query, see [Azure Resource Graph sample queries for Azure Monitor](../resource-graph-samples.md).
42+
43+
You can use Azure Resource Graphs:
44+
- with [Azure PowerShell](/powershell/module/az.monitor/)
45+
- with the [Azure CLI](/cli/azure/monitor?view=azure-cli-latest&preserve-view=true)
46+
- in the Azure portal
47+
48+
You can also use the [Alert Management REST API](/rest/api/monitor/alertsmanagement/alerts) for lower scale querying or to update fired alerts.
49+
3750
## Next steps
3851

3952
- [Learn about Azure Monitor alerts](./alerts-overview.md)
4053
- [Create a new alert rule](alerts-log.md)
41-
- [Manage your alerts programmatically](alerts-overview.md#manage-your-alerts-programmatically)
54+

0 commit comments

Comments
 (0)