将经典警报迁移到新警报。
With the classic alert migration to new alert.
我有一个ping网址"Microsoft.Insights / webtest"在Azure可用性测试中。
I have a ping url "Microsoft.Insights/webtest" in Azure Availability Tests.
旧的警报类型是"Microsoft.Insights / alertrules"。
The old alert type is "Microsoft.Insights/alertrules".
条件类型是"Microsoft.Azure" .Management.Insights.Models.LocationThresholdRuleCondition"。
The condition type is "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition".
旧的metricName是"GSMT_AvRaW"。
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?
推荐答案
Hello HaibaraAi,
Hello HaibaraAi,
如果您还没有,请查看 此Azure快速入门示例供参考。
If you haven't already, check out this Azure Quick start sample for reference.
还包括 旧博客,遍历webtest c使用ARM的反应。
Also including an older blog that walks through webtest creation using ARM.
希望这会有所帮助。
干杯。
更多推荐
如何使用新警报编写webtest?
发布评论