We can create/update/view Classic log analytics alerts in azure through azure powershell or cli. Can we create/update/view a normal alert in log analytics using azure cli or powershell?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Nope, the CLI functions to do that aren't released yet. The functionality should be released soon. They're moving log analytics alerts into the new Azure Security Insights.
There's a rest API that is able to edit alerts, but it can't edit saved searches, so it's useless for updating the queries.