Azure / Azure/azure-rest-api-specs

MetricAlertAtResourceGroupLevel operation not working in Microsoft.Insights/metricAlerts Get call

Open
#4,954 2 comments 0 reactions 0 assignees View on GitHub
customer-reported Insights needs-team-attention Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

Hi,

I am trying to get all the metric alerts at resource group level using Get operation mentioned in the below document.

https://docs.microsoft.com/en-us/rest/api/monitor/metricalerts/get#get_an_alert_rule_on_resource_group(s)

From the document, only get on single metric alert works. All the other Get operations like MetricAlertAtResourceGroupLevel, MetricAlertAtSubscriptionLevel MetricAlertOnMultipleResources are not working.

Api_version used : 2018-03-01

Contributor guide

Open the contributing guide

Research direction

Start with the linked Metric Alerts REST API documentation and the 2018-03-01 API version. Reproduce the Get calls for resource-group, subscription-level, and multiple-resource alerts, recording the requests and errors; the work is done when the affected operations are either corrected or the documentation clearly matches their supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.