MetricCriteria 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 to filter metrics.
[Newtonsoft.Json.JsonObject("StaticThresholdCriterion")]
public class MetricCriteria : Microsoft.Azure.Management.Monitor.Models.MultiMetricCriteria
[<Newtonsoft.Json.JsonObject("StaticThresholdCriterion")>]
type MetricCriteria = class
inherit MultiMetricCriteria
Public Class MetricCriteria
Inherits MultiMetricCriteria
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
MetricCriteria() |
Initializes a new instance of the MetricCriteria class. |
MetricCriteria(String, String, String, String, Double, IDictionary<String,Object>, String, IList<MetricDimension>, Nullable<Boolean>) |
Initializes a new instance of the MetricCriteria class. |
Properties
AdditionalProperties |
Gets or sets unmatched properties from the message are deserialized this collection (Inherited from MultiMetricCriteria) |
Dimensions |
Gets or sets list of dimension conditions. (Inherited from MultiMetricCriteria) |
MetricName |
Gets or sets name of the metric. (Inherited from MultiMetricCriteria) |
MetricNamespace |
Gets or sets namespace of the metric. (Inherited from MultiMetricCriteria) |
Name |
Gets or sets name of the criteria. (Inherited from MultiMetricCriteria) |
OperatorProperty |
Gets or sets the criteria operator. Possible values include: 'Equals', 'GreaterThan', 'GreaterThanOrEqual', 'LessThan', 'LessThanOrEqual' |
SkipMetricValidation |
Gets or sets 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) |
Threshold |
Gets or sets the criteria threshold value that activates the alert. |
TimeAggregation |
Gets or sets the criteria time aggregation types. Possible values include: 'Average', 'Count', 'Minimum', 'Maximum', 'Total' (Inherited from MultiMetricCriteria) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin