Azure / Azure/azure-rest-api-specs

[Azure Monitor] Missing Rules method to retrieve Log Analytics alerts rules

Open
#4,966 0 comments 1 reaction 0 assignees View on GitHub
Monitor - Operational Insights needs-team-attention question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

Hello,

In the Azure Portal to retrieve alerts rules based on Log Analytics query, there is a query executed by workspaces with the following url :

/subscriptions/[subscriptionId]/resourcegroups/[resourceGroupName]/providers/microsoft.operationalinsights/workspaces/[workspace]/rules?api-version=2015-03-20

I can't find this "rules" method inside the API and documentation. Is it the correct way to retrieve this kind of alerts ? Is there another way to retrieve these information ?

Regards,

Benjamin

Contributor guide

Open the contributing guide

Research direction

Search the Azure Monitor and Log Analytics API specifications for the workspace `/rules` operation and compare them with the portal URL and API version in the issue. Done means establishing whether this operation belongs in the REST specifications and documenting or tracking the correct supported way to retrieve these alert rules.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.