使用Powershell导出和复制服务运行状况警报 [英] Export and copy service health alert with powershell

查看:117
本文介绍了使用Powershell导出和复制服务运行状况警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我在蔚蓝上通过ui创建了一个健康警报.

I created one health alert over ui at azure.

现在,我要导出此运行状况警报,修改位置并通过Powershell创建新的运行状况警报.

Now I want to export this health alert, modify the location and create a new health alert over powershell.

我希望有人可以帮助我:-D

I hope somebody can help me at this :-D

我找不到任何执行此操作的命令.

I don't find any command to do this.

谢谢

霍斯特

感谢Horst MOSS 2007农场; MOSS 2010农场; TFS 2010; TFS 2013; IIS 7.5

Thanks Horst MOSS 2007 Farm; MOSS 2010 Farm; TFS 2010; TFS 2013; IIS 7.5

推荐答案

您可以参考以下文章: 使用PowerShell以编程方式设置Azure服务运行状况警报.另外,我建议您检查以下模板 这里,它允许您部署一个简单的警报,该警报使用操作组为Azure活动日志中的任何服务运行状况记录发送电子邮件通知.看看是否有帮助.

You may refer the following article to setup Azure Service Health Alerts programmatically using PowerShell. Also, I would suggest you to check the following template here, which allows you to deploy a simple alert which uses an action group to send email notifications for any Service Health records in the Azure Activity Log. See if this helps.

免责声明:此回复包含对第三方万维网的引用地点. Microsoft为方便您而提供此信息.微软不控制 这些网站,尚未测试在这些网站上找到的任何软件或信息;因此,Microsoft无法对在此找到的任何软件或信息的质量,安全性或适用性做出任何陈述.存在着内在的危险 使用Internet上发现的任何软件,Microsoft提醒您在从Internet检索任何软件之前,请确保您完全了解风险.

Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 

--------------- -------------------------------------------------- ------------------------------

如果此答案有帮助,请单击标记为答案"或投票.要提供有关您的论坛体验的其他反馈,请单击

这篇关于使用Powershell导出和复制服务运行状况警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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