Delen via


MetricSpecification Constructors

Definition

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>, String)

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>, String)

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.HealthcareApis.Models.MetricDimension> dimensions = default, string sourceMdmNamespace = default);
new Microsoft.Azure.Management.HealthcareApis.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.HealthcareApis.Models.MetricDimension> * string -> Microsoft.Azure.Management.HealthcareApis.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, Optional sourceMdmNamespace As String = 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.

supportedAggregationTypes
IList<String>

Supported aggregation types

supportedTimeGrainTypes
IList<String>

Supported time grain types

fillGapWithZero
Nullable<Boolean>

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

sourceMdmNamespace
String

Name of the MDM namespace. Optional.

Applies to