Share via


MetricSpecifications Constructors

Definition

Overloads

MetricSpecifications()

Initializes a new instance of the MetricSpecifications class.

MetricSpecifications(String, String, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, String, Nullable<Boolean>, String, String, Nullable<Boolean>, String, IList<Dimension>)

Initializes a new instance of the MetricSpecifications class.

MetricSpecifications()

Initializes a new instance of the MetricSpecifications class.

public MetricSpecifications ();
Public Sub New ()

Applies to

MetricSpecifications(String, String, String, String, String, IList<String>, IList<String>, Nullable<Boolean>, String, String, String, Nullable<Boolean>, String, String, Nullable<Boolean>, String, IList<Dimension>)

Initializes a new instance of the MetricSpecifications class.

public MetricSpecifications (string name = default, string displayName = default, string displayDescription = default, string unit = default, string aggregationType = default, System.Collections.Generic.IList<string> supportedAggregationTypes = default, System.Collections.Generic.IList<string> supportedTimeGrainTypes = default, bool? enableRegionalMdmAccount = default, string sourceMdmAccount = default, string sourceMdmNamespace = default, string metricFilterPattern = default, bool? fillGapWithZero = default, string category = default, string resourceIdDimensionNameOverride = default, bool? isInternal = default, string delegateMetricNameOverride = default, System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.Dimension> dimensions = default);
new Microsoft.Azure.Management.HDInsight.Models.MetricSpecifications : string * string * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * string * Nullable<bool> * string * string * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.HDInsight.Models.Dimension> -> Microsoft.Azure.Management.HDInsight.Models.MetricSpecifications
Public Sub New (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional displayDescription As String = Nothing, Optional unit As String = Nothing, Optional aggregationType As String = Nothing, Optional supportedAggregationTypes As IList(Of String) = Nothing, Optional supportedTimeGrainTypes As IList(Of String) = Nothing, Optional enableRegionalMdmAccount As Nullable(Of Boolean) = Nothing, Optional sourceMdmAccount As String = Nothing, Optional sourceMdmNamespace As String = Nothing, Optional metricFilterPattern As String = Nothing, Optional fillGapWithZero As Nullable(Of Boolean) = Nothing, Optional category As String = Nothing, Optional resourceIdDimensionNameOverride As String = Nothing, Optional isInternal As Nullable(Of Boolean) = Nothing, Optional delegateMetricNameOverride As String = Nothing, Optional dimensions As IList(Of Dimension) = Nothing)

Parameters

name
String

The name of the metric specification.

displayName
String

The display name of the metric specification.

displayDescription
String

The display description of the metric specification.

unit
String

The unit of the metric specification.

aggregationType
String

The aggregation type of the metric specification.

supportedAggregationTypes
IList<String>

The supported aggregation types of the metric specification.

supportedTimeGrainTypes
IList<String>

The supported time grain types of the metric specification.

enableRegionalMdmAccount
Nullable<Boolean>

The flag indicates whether enable regional mdm account or not.

sourceMdmAccount
String

The source mdm account.

sourceMdmNamespace
String

The source mdm namespace.

metricFilterPattern
String

The metric filter pattern.

fillGapWithZero
Nullable<Boolean>

The flag indicates whether filling gap with zero.

category
String

The category of the metric.

resourceIdDimensionNameOverride
String

The override name of resource id dimension name.

isInternal
Nullable<Boolean>

The flag indicates whether the metric is internal or not.

delegateMetricNameOverride
String

The override name of delegate metric.

dimensions
IList<Dimension>

The dimensions of the metric specification.

Applies to