DynamicMetricCriteria Class
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.
Criterion for dynamic threshold.
public class DynamicMetricCriteria : Azure.ResourceManager.Monitor.Models.MultiMetricCriteria, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.DynamicMetricCriteria>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.DynamicMetricCriteria>
type DynamicMetricCriteria = class
inherit MultiMetricCriteria
interface IJsonModel<DynamicMetricCriteria>
interface IPersistableModel<DynamicMetricCriteria>
Public Class DynamicMetricCriteria
Inherits MultiMetricCriteria
Implements IJsonModel(Of DynamicMetricCriteria), IPersistableModel(Of DynamicMetricCriteria)
- Inheritance
- Implements
Constructors
Properties
AdditionalProperties |
Additional Properties To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
AlertSensitivity |
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern. |
Dimensions |
List of dimension conditions. (Inherited from MultiMetricCriteria) |
FailingPeriods |
The minimum number of violations required within the selected lookback time window required to raise an alert. |
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). |
MetricName |
Name of the metric. (Inherited from MultiMetricCriteria) |
MetricNamespace |
Namespace of the metric. (Inherited from MultiMetricCriteria) |
Name |
Name of the criteria. (Inherited from MultiMetricCriteria) |
Operator |
The operator used to compare the metric value against the threshold. |
SkipMetricValidation |
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped. (Inherited from MultiMetricCriteria) |
TimeAggregation |
the criteria time aggregation types. (Inherited from MultiMetricCriteria) |
Explicit Interface Implementations
Applies to
Azure SDK for .NET