Skip to content

Commit c77e720

Browse files
authored
Merge pull request #268899 from AbbyMSFT/alerts-api
Move and rename article about ARG queries
2 parents f801645 + 92121a8 commit c77e720

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

articles/azure-monitor/alerts/migrate-from-alerts-summary-api.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
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.
44
ms.topic: how-to
5-
ms.date: 09/21/2023
5+
ms.date: 03/13/2024
66
ms.author: abbyweisberg
77
ms.reviewer: nolavime
88
---
99

10-
# Migrate from the alertsSummary API to ARG queries
10+
# Use ARG queries to get a summary of your alerts
1111

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.
1313

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.
1515

1616
Azure Resource Graph queries provide more functionality than the alertsSummary API, including:
1717
* 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.
1919

2020
## Implementation of the current alertsSummary API:
2121

@@ -62,7 +62,7 @@ This is an example of the output from the alertsSummary API:
6262
}
6363
```
6464

65-
## Use the Azure Resource Graph query
65+
## Use the Azure Resource Graph queries for Azure Monitor alerts
6666

6767
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.
6868

articles/azure-monitor/toc.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,8 @@ items:
13381338
href: alerts/alerts-manage-alert-instances.md
13391339
- name: Update alerts for region moves
13401340
href: alerts/alerts-resource-move.md
1341+
- name: Query alerts using ARG
1342+
href: alerts/migrate-from-alerts-summary-api.md
13411343
- name: Tutorials
13421344
items:
13431345
- name: Create a metric alert
@@ -1566,8 +1568,13 @@ items:
15661568
items:
15671569
- name: Azure Monitor REST API index
15681570
href: azure-monitor-rest-api-index.md
1569-
- name: Migrate from the alertsSummary API
1570-
href: alerts/migrate-from-alerts-summary-api.md
1571+
- name: REST API Walkthrough
1572+
displayName: metrics, analyze
1573+
href: essentials/rest-api-walkthrough.md
1574+
- name: Activity log via REST API
1575+
href: essentials/rest-activity-log.md
1576+
- name: Migrate to the metrics getBatch API
1577+
href: essentials/migrate-to-batch-api.md
15711578
- name: Azure alerts management SDK for Python
15721579
href: /python/api/azure-mgmt-monitor/azure.mgmt.monitor.monitormanagementclient
15731580
- name: Resource Manager templates

0 commit comments

Comments
 (0)