Sdílet prostřednictvím


MetricSpecification Constructors

Definition

Overloads

MetricSpecification()

Initializes a new instance of the MetricSpecification class.

MetricSpecification(String, String, String, String, String, IList<Availability>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Dimension>, Nullable<Boolean>, String, String, 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, IList<Availability>, Nullable<Boolean>, Nullable<Boolean>, String, IList<Dimension>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the MetricSpecification class.

public MetricSpecification (string name = default, string displayName = default, string displayDescription = default, string unit = default, string aggregationType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Availability> availabilities = default, bool? enableRegionalMdmAccount = default, bool? fillGapWithZero = default, string metricFilterPattern = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Dimension> dimensions = default, bool? isInternal = default, string sourceMdmAccount = default, string sourceMdmNamespace = default, string resourceIdDimensionNameOverride = default);
new Microsoft.Azure.Management.Network.Models.MetricSpecification : string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Availability> * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.Dimension> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Network.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 aggregationType As String = Nothing, Optional availabilities As IList(Of Availability) = Nothing, Optional enableRegionalMdmAccount As Nullable(Of Boolean) = Nothing, Optional fillGapWithZero As Nullable(Of Boolean) = Nothing, Optional metricFilterPattern As String = Nothing, Optional dimensions As IList(Of Dimension) = Nothing, Optional isInternal As Nullable(Of Boolean) = Nothing, Optional sourceMdmAccount As String = Nothing, Optional sourceMdmNamespace As String = Nothing, Optional resourceIdDimensionNameOverride As String = Nothing)

Parameters

name
String

The name of the metric.

displayName
String

The display name of the metric.

displayDescription
String

The description of the metric.

unit
String

Units the metric to be displayed in.

aggregationType
String

The aggregation type.

availabilities
IList<Availability>

List of availability.

enableRegionalMdmAccount
Nullable<Boolean>

Whether regional MDM account enabled.

fillGapWithZero
Nullable<Boolean>

Whether gaps would be filled with zeros.

metricFilterPattern
String

Pattern for the filter of the metric.

dimensions
IList<Dimension>

List of dimensions.

isInternal
Nullable<Boolean>

Whether the metric is internal.

sourceMdmAccount
String

The source MDM account.

sourceMdmNamespace
String

The source MDM namespace.

resourceIdDimensionNameOverride
String

The resource Id dimension name override.

Applies to