|
1 | 1 | ---
|
2 |
| -title: Migrate from the Azure Monitor alertsSummary API |
3 |
| -description: Find out how to migrate from the Azure Monitor alertsSummary API, which is being deprecated |
| 2 | +title: Use ARG queries to get a summary of your alerts |
| 3 | +description: Find out how to se ARG queries to migrate from the Azure Monitor alertsSummary API, which is being deprecated. |
4 | 4 | ms.topic: how-to
|
5 |
| -ms.date: 09/21/2023 |
| 5 | +ms.date: 03/13/2024 |
6 | 6 | ms.author: abbyweisberg
|
7 | 7 | ms.reviewer: nolavime
|
8 | 8 | ---
|
9 | 9 |
|
10 |
| -# Migrate from the alertsSummary API to ARG queries |
| 10 | +# Use ARG queries to get a summary of your alerts |
11 | 11 |
|
12 |
| -The [alertsSummary API](/rest/api/monitor/alertsmanagement/alerts/get-summary) is being deprecated as of September 30,2026. Instead of the alertsSummary API, you can use Azure Resource Graph queries to get the same information. |
| 12 | +Azure Resource Graph queries allow you to query your Azure data and can be used to get information about your Azure monitor alerts. |
13 | 13 |
|
14 |
| -Azure Resource Graph queries provide flexibility to query your Azure data and can be used for Azure monitor alerts instead of the alertsSummary API. |
| 14 | +The [alertsSummary API](/rest/api/monitor/alertsmanagement/alerts/get-summary) is being deprecated as of September 30,2026. Instead of the alertsSummary API, you can use Azure Resource Graph queries to get the same information. |
15 | 15 |
|
16 | 16 | Azure Resource Graph queries provide more functionality than the alertsSummary API, including:
|
17 | 17 | * The ability to add new fields to the query that returns the alert summary.
|
18 |
| -* The ability to be more flexible in the query that returns the alert summary. |
| 18 | +* More flexibility in the query that returns the alert summary. |
19 | 19 |
|
20 | 20 | ## Implementation of the current alertsSummary API:
|
21 | 21 |
|
@@ -62,7 +62,7 @@ This is an example of the output from the alertsSummary API:
|
62 | 62 | }
|
63 | 63 | ```
|
64 | 64 |
|
65 |
| -## Use the Azure Resource Graph query |
| 65 | +## Use the Azure Resource Graph queries for Azure Monitor alerts |
66 | 66 |
|
67 | 67 | Use these Azure Resource Graph queries instead of the alertsSummary API call to retrieve alert information, or use these queries as a basis for designing your own queries.
|
68 | 68 |
|
|
0 commit comments