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>, 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, String, IList<String>, IList<String>, Nullable<Boolean>, IList<MetricDimension>, 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 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.Avs.Models.MetricDimension> dimensions = default, string enableRegionalMdmAccount = default, string sourceMdmAccount = default, string sourceMdmNamespace = default);
new Microsoft.Azure.Management.Avs.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.Avs.Models.MetricDimension> * string * string * string -> Microsoft.Azure.Management.Avs.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 enableRegionalMdmAccount As String = Nothing, Optional sourceMdmAccount As String = 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.
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
- enableRegionalMdmAccount
- String
Whether or not the service is using regional MDM accounts.
- sourceMdmAccount
- String
The name of the MDM account.
- sourceMdmNamespace
- String
The name of the MDM namespace.
Applies to
Azure SDK for .NET