I have few app insight and Alerts (Smart Detection - Failure Anomalies) which already created in past. As you all know "Classic Alert" will be retired on 31st March 2019.
In my scenario, I want to Create New alert manually by ARM templates. Previously it was "Failure Anomalies - appinsightname01" of "type": "Microsoft.Insights/alertRules". Here, appinsightname01 is an application insight name and this alert created automatically on app insight.
Now, after 31st August this will no longer support so I want to create new using ARM templates Manually.
It's supported using code as we create "MetricAlert, AuditLogs, LogSearch" ?
Please give me your views. Thanks