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

ManagementEventRuleCondition 类

定义

管理事件规则条件。

[Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition")]
public class ManagementEventRuleCondition : Microsoft.Azure.Management.Monitor.Models.RuleCondition
[<Newtonsoft.Json.JsonObject("Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition")>]
type ManagementEventRuleCondition = class
    inherit RuleCondition
Public Class ManagementEventRuleCondition
Inherits RuleCondition
继承
ManagementEventRuleCondition
属性
Newtonsoft.Json.JsonObjectAttribute

构造函数

ManagementEventRuleCondition()

初始化 ManagementEventRuleCondition 类的新实例。

ManagementEventRuleCondition(RuleDataSource, ManagementEventAggregationCondition)

初始化 ManagementEventRuleCondition 类的新实例。

属性

Aggregation

获取或设置在一段时间内应如何合并收集的数据以及激活警报的时间。 请注意,对于管理事件警报,聚合是可选的;如果未提供任何聚合,则任何事件都将导致激活警报。

DataSource

获取或设置规则从中收集数据的资源。 对于此类型,dataSource 将始终为 RuleMetricDataSource 类型。

(继承自 RuleCondition)

适用于