如何使用新警报编写webtest? [英] How to write a webtest with new alert in arm?

查看:66
本文介绍了如何使用新警报编写webtest?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将经典警报迁移到新警报。



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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆