MetricSpecification Constructors
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.
Overloads
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. |
MetricSpecification()
Initializes a new instance of the MetricSpecification class.
public MetricSpecification ();
Public Sub New ()
Applies to
MetricSpecification(String, String, String, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, IList<MetricDimension>)
Initializes a new instance of the MetricSpecification class.
public MetricSpecification (string name = default, string displayName = default, string displayDescription = default, string unit = default, string category = default, string aggregationType = default, System.Collections.Generic.IList<string> supportedAggregationTypes = default, System.Collections.Generic.IList<string> supportedTimeGrainTypes = default, bool? fillGapWithZero = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.MetricDimension> dimensions = default);
new Microsoft.Azure.Management.AppPlatform.Models.MetricSpecification : string * string * string * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.MetricDimension> -> Microsoft.Azure.Management.AppPlatform.Models.MetricSpecification
Public Sub New (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional displayDescription As String = Nothing, Optional unit As String = Nothing, Optional category As String = Nothing, Optional aggregationType As String = Nothing, Optional supportedAggregationTypes As IList(Of String) = Nothing, Optional supportedTimeGrainTypes As IList(Of String) = Nothing, Optional fillGapWithZero As Nullable(Of Boolean) = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing)
Parameters
- name
- String
Name of the metric
- displayName
- String
Localized friendly display name of the metric
- displayDescription
- String
Localized friendly description of the metric
- unit
- String
Unit that makes sense for the metric
- category
- String
Name of the metric category that the metric belongs to. A metric can only belong to a single category.
- aggregationType
- String
Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
- dimensions
- IList<MetricDimension>
Dimensions of the metric
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應