MetricSpecification 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.
Specifications of the Metrics for Azure Monitoring
public class MetricSpecification
type MetricSpecification = class
Public Class MetricSpecification
- Inheritance
-
MetricSpecification
Constructors
MetricSpecification() |
Initializes a new instance of the MetricSpecification class. |
MetricSpecification(String, String, String, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, IList<MetricDimension>) |
Initializes a new instance of the MetricSpecification class. |
Properties
AggregationType |
Gets or sets only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. |
Category |
Gets or sets name of the metric category that the metric belongs to. A metric can only belong to a single category. |
Dimensions |
Gets or sets dimensions of the metric |
DisplayDescription |
Gets or sets localized friendly description of the metric |
DisplayName |
Gets or sets localized friendly display name of the metric |
FillGapWithZero |
Gets or sets optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. |
Name |
Gets or sets name of the metric |
SupportedAggregationTypes |
Gets or sets supported aggregation types |
SupportedTimeGrainTypes |
Gets or sets supported time grain types |
Unit |
Gets or sets unit that makes sense for the metric |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應