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

LogToMetricAction 类

定义

指定在规则类型将日志转换为指标时需要执行的操作

[Newtonsoft.Json.JsonObject("Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction")]
public class LogToMetricAction : Microsoft.Azure.Management.Monitor.Models.Action
[<Newtonsoft.Json.JsonObject("Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction")>]
type LogToMetricAction = class
    inherit Action
Public Class LogToMetricAction
Inherits Action
继承
LogToMetricAction
属性
Newtonsoft.Json.JsonObjectAttribute

构造函数

LogToMetricAction()

初始化 LogToMetricAction 类的新实例。

LogToMetricAction(IList<Criteria>)

初始化 LogToMetricAction 类的新实例。

属性

Criteria

获取或设置指标的条件

方法

Validate()

验证 对象。

适用于