VISTA-9B实战项目:构建智能GUI测试自动化系统
2026/6/15 3:43:56
警报是一种在异常情况发生时通知用户的功能。设置警报有多种方式,其中一种是使用 ARM 模板。以下是一个示例 ARM 模板:
{ "name": "[variables('myFirstAlertName')]", "type": "Microsoft.Insights/alertrules", "apiVersion": "2014-04-01", "location": "[parameters('appLocation')]", "dependsOn": [ "[resourceId('Microsoft.Insights/components', parameters('myApplicationName'))]" ], "tags": { "[concat('hidden-link:', resourceId('Microsoft.Insights/components', parameters('myApplicationName')))]": "Resource" }, "properties": { "name": "[variables('responseAlertName')]", "description": "response time alert", "isEnabled": true, "condition": { "$type": "Microsoft.WindowsAzure.Mana