你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AlertRuleData.Actions 属性

定义

警报规则变为活动状态时以及解决警报条件时执行的操作数组。 请注意 AlertRuleAction , 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 RuleEmailActionRuleWebhookAction

public System.Collections.Generic.IList<Azure.ResourceManager.Monitor.Models.AlertRuleAction> Actions { get; }
member this.Actions : System.Collections.Generic.IList<Azure.ResourceManager.Monitor.Models.AlertRuleAction>
Public ReadOnly Property Actions As IList(Of AlertRuleAction)

属性值

适用于