你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ICondition Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Models.Api20210801.ConditionTypeConverter))]
public interface ICondition : Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.ScheduledQueryRule.Models.Api20210801.ConditionTypeConverter))>]
type ICondition = interface
interface IJsonSerializable
Public Interface ICondition
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
Dimension |
List of Dimensions conditions |
FailingPeriodMinFailingPeriodsToAlert |
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1 |
FailingPeriodNumberOfEvaluationPeriod |
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1 |
MetricMeasureColumn |
The column containing the metric measure number. Relevant only for rules of the kind LogAlert. |
MetricName |
The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric. |
Operator |
The criteria operator. Relevant and required only for rules of the kind LogAlert. |
Query |
Log query alert |
ResourceIdColumn |
The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert. |
Threshold |
the criteria threshold value that activates the alert. Relevant and required only for rules of the kind LogAlert. |
TimeAggregation |
Aggregation type. Relevant and required only for rules of the kind LogAlert. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |