如何通过RestApi更改Azure警报状态时添加说明 [英] How to Add Description while changing Azure Alert State Through RestApi

查看:42
本文介绍了如何通过RestApi更改Azure警报状态时添加说明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IAM 1057 NBSP;尝试通过rest API更新Azure警报的警报状态(例如:从New到Acknowledged),我可以成功地发布帖子并使用AlertState, 但我一直在尝试在进行状态更改时也能够添加描述字段
,但我似乎无法找到正确的方法来做到这一点,请建议如果有人知道一种方法来追加更改警报状态时通过休息的描述字段。

Iam  trying to Update the Alert state of a Azure Alert ( Eg: From New to Acknowledged ) via rest API and I am avbe to successfully Do a post and chnage the AlertState ,  But i have been trying for means to also be able to add Description Field while making the State change , but I seem to not be able to find the correct way to do that , please suggest if someone knows a way to append that description field through Rest while changing the alert state .

我试图在尝试调用休息时添加描述文本(参数名称注释)作为正文,但它似乎有帮助。  

I have tried to add the description Text ( Parameter Name Comment ) as a body while trying to invoke rest but it dosent seems to help . 

推荐答案

嗨HariNarayanan Muthukumar,AFAIK我们可能无法在进行状态更改时添加说明字段,因为在  警报
- 更改状态REST API参考

您可以提供反馈/建议以添加此功能
这里

May be you can provide feedback / suggestion to add this functionality here




希望这会有所帮助!!

Hope this helps!!

注意:如果您认为您的问题已得到解答,请点击"标记为答案",如果只是帮助,请点击"投票为有用"。
这对其他阅读此内容的社区成员有益论坛帖子。


这篇关于如何通过RestApi更改Azure警报状态时添加说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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