Class DynamicMetricCriteria
Criterion for dynamic threshold.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Newtonsoft.Json.JsonObject("DynamicThresholdCriterion")]
public class DynamicMetricCriteria : Microsoft.Azure.Management.Monitor.Models.MultiMetricCriteria
Constructors
DynamicMetricCriteria()
Initializes a new instance of the DynamicMetricCriteria class.
Declaration
public DynamicMetricCriteria ();
DynamicMetricCriteria(String, String, Object, Object, Object, DynamicThresholdFailingPeriods, IDictionary<String,Object>, String, IList<MetricDimension>, Nullable<DateTime>)
Initializes a new instance of the DynamicMetricCriteria class.
Declaration
public DynamicMetricCriteria (string name, string metricName, object timeAggregation, object operatorProperty, object alertSensitivity, Microsoft.Azure.Management.Monitor.Models.DynamicThresholdFailingPeriods failingPeriods, System.Collections.Generic.IDictionary<string,object> additionalProperties = null, string metricNamespace = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.MetricDimension> dimensions = null, Nullable<DateTime> ignoreDataBefore = null);
Parameters
|
String
name
Name of the criteria. |
|
String
metricName
Name of the metric. |
|
Object
timeAggregation
the criteria time aggregation types. |
|
Object
operatorProperty
The operator used to compare the metric value against the threshold. |
|
Object
alertSensitivity
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. |
|
DynamicThresholdFailingPeriods
failingPeriods
The minimum number of violations required within the selected lookback time window required to raise an alert. |
|
IDictionary<String,Object>
additionalProperties
Unmatched properties from the message are deserialized this collection |
|
String
metricNamespace
Namespace of the metric. |
|
IList<MetricDimension>
dimensions
List of dimension conditions. |
|
Nullable<DateTime>
ignoreDataBefore
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format) |
Properties
AlertSensitivity
Gets or sets the extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="alertSensitivity")]
public object AlertSensitivity { get; set; }
Property Value
|
Object
|
FailingPeriods
Gets or sets the minimum number of violations required within the selected lookback time window required to raise an alert.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="failingPeriods")]
public Microsoft.Azure.Management.Monitor.Models.DynamicThresholdFailingPeriods FailingPeriods { get; set; }
Property Value
|
DynamicThresholdFailingPeriods
|
IgnoreDataBefore
Gets or sets use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="ignoreDataBefore")]
public Nullable<DateTime> IgnoreDataBefore { get; set; }
Property Value
|
Nullable<DateTime>
|
OperatorProperty
Gets or sets the operator used to compare the metric value against the threshold.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="operator")]
public object OperatorProperty { get; set; }
Property Value
|
Object
|
Methods
Validate()
Validate the object.
Declaration
public override void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |