Share via


MetricDefinition Constructors

Definition

Overloads

MetricDefinition()
MetricDefinition(Nullable<Boolean>, String, String, LocalizableString, Nullable<Unit>, Nullable<AggregationType>, IList<Nullable<AggregationType>>, IList<MetricAvailability>, String, IList<LocalizableString>)

MetricDefinition()

public MetricDefinition ();
Public Sub New ()

Applies to

MetricDefinition(Nullable<Boolean>, String, String, LocalizableString, Nullable<Unit>, Nullable<AggregationType>, IList<Nullable<AggregationType>>, IList<MetricAvailability>, String, IList<LocalizableString>)

public MetricDefinition (bool? isDimensionRequired = default, string resourceId = default, string namespaceProperty = default, Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.LocalizableString name = default, Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.Unit? unit = default, Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AggregationType? primaryAggregationType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AggregationType?> supportedAggregationTypes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAvailability> metricAvailabilities = default, string id = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.LocalizableString> dimensions = default);
new Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricDefinition : Nullable<bool> * string * string * Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.LocalizableString * Nullable<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.Unit> * Nullable<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AggregationType> * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.AggregationType>> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricAvailability> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.LocalizableString> -> Microsoft.Azure.Management.Monitor.Version2018_09_01.Models.MetricDefinition
Public Sub New (Optional isDimensionRequired As Nullable(Of Boolean) = Nothing, Optional resourceId As String = Nothing, Optional namespaceProperty As String = Nothing, Optional name As LocalizableString = Nothing, Optional unit As Nullable(Of Unit) = Nothing, Optional primaryAggregationType As Nullable(Of AggregationType) = Nothing, Optional supportedAggregationTypes As IList(Of Nullable(Of AggregationType)) = Nothing, Optional metricAvailabilities As IList(Of MetricAvailability) = Nothing, Optional id As String = Nothing, Optional dimensions As IList(Of LocalizableString) = Nothing)

Parameters

isDimensionRequired
Nullable<Boolean>
resourceId
String
namespaceProperty
String
unit
Nullable<Unit>
primaryAggregationType
Nullable<AggregationType>
supportedAggregationTypes
IList<Nullable<AggregationType>>
metricAvailabilities
IList<MetricAvailability>
id
String
dimensions
IList<LocalizableString>

Applies to