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

RuleCondition 构造函数

定义

重载

RuleCondition()

初始化 RuleCondition 类的新实例。

RuleCondition(RuleDataSource)

初始化 RuleCondition 类的新实例。

RuleCondition()

初始化 RuleCondition 类的新实例。

public RuleCondition ();
Public Sub New ()

适用于

RuleCondition(RuleDataSource)

初始化 RuleCondition 类的新实例。

public RuleCondition (Microsoft.Azure.Management.Monitor.Models.RuleDataSource dataSource = default);
new Microsoft.Azure.Management.Monitor.Models.RuleCondition : Microsoft.Azure.Management.Monitor.Models.RuleDataSource -> Microsoft.Azure.Management.Monitor.Models.RuleCondition
Public Sub New (Optional dataSource As RuleDataSource = Nothing)

参数

dataSource
RuleDataSource

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

适用于