How to write a webtest with new alert in arm?

Category: azure operational insights

Question

HaibaraAi on Tue, 12 Feb 2019 07:00:46




With the classic alert migration to new alert.

I have a ping url "Microsoft.Insights/webtest" in Azure Availability Tests.

The old alert type is "Microsoft.Insights/alertrules".

The condition type is "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition".

The old metricName is "GSMT_AvRaW".

When I add New Test in Availability, I can switch Alert Type Classic to Near-realtime.

How to write this new alert(Near-realtime) in arm or how to write into webtests in arm?


Replies

Femisulu on Thu, 14 Feb 2019 06:48:34


Hello HaibaraAi,

If you haven't already, check out this Azure Quick start sample for reference.

Also including an older blog that walks through webtest creation using ARM.

Hope this helps.

Cheers.