Forum Discussion
Log Analytics ARM REST API specification update
For example, I want to get resource type "Microsoft.OperationalInsights/workspaces/savedSearches/schedules/actions",
but there is no easy way to get it.
Please release version 2017-03-15-preview specification.
REST API Document(2015-03-20)
<https://docs.microsoft.com/en-us/rest/api/loganalytics/savedsearches>
GitHub azure-rest-api-specs(2015-03-20/2015-11-01-preview)
<https://github.com/Azure/azure-rest-api-specs/tree/master/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights>
Manage Log Analytics using Azure Resource Manager templates(2017-03-15-preview)
<https://docs.microsoft.com/en-us/azure/azure-monitor/platform/template-workspace-configuration?toc=%2Fazure%25monitoring-and-diagnostics%2Ftoc.json#api-versions>
9 Replies
- Noa Kuperberg
Microsoft
Hi,
I've shared your request with the relevant PM and engineer, who should reply here.
Thanks for posting this request.
Noa
- Noa Kuperberg
Microsoft
Hi,
The ScheduledQueryRules API guide is live, see examples: https://docs.microsoft.com/en-us/rest/api/monitor/scheduledqueryrules/createorupdate#examples
An official announcement of the API is expected in Jan 2019, but you can already use it.
HTH,
Noa
- pawelliebichCopper Contributor
Hey,
I have similar problem.
Link is for ScheduledQueryRules from provider microsoft.insights, and we are searching under provider Microsoft.OperationalInsights for QueryRules. ScheduledQueryRules and QueryRules are two different things.
I need this to modify Query Rules (not ScheduledQueryRules) to Log Analytics in Azure Monitor. Alerts are using data from Microsoft.OperationalInsights/workspaces/savedSearches/ , Microsoft.OperationalInsights/workspaces/savedSearches/schedules/ and Microsoft.OperationalInsights/workspaces/savedSearches/schedules/actions. API is documented only for Microsoft.OperationalInsights/workspaces/savedSearches/.
I asked a question about the documentation and future of the Microsoft.OperationalInsights and microsoft.insights API on the Azure Advisor platform, but no one has answered me yet. Maybe you'll help :)