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, MetricUnit, MetricAggregationType, Nullable<MetricAggregationType>, IList<String>, IList<MetricDimension>, Boolean, String, String, IList<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, MetricUnit, MetricAggregationType, Nullable<MetricAggregationType>, IList<String>, IList<MetricDimension>, Boolean, String, String, IList<String>)
Initializes a new instance of the MetricSpecification class.
public MetricSpecification (string name = default, string displayName = default, string displayDescription = default, Microsoft.Azure.Management.Media.Models.MetricUnit unit = default, Microsoft.Azure.Management.Media.Models.MetricAggregationType aggregationType = default, Microsoft.Azure.Management.Media.Models.MetricAggregationType? lockAggregationType = default, System.Collections.Generic.IList<string> supportedAggregationTypes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.MetricDimension> dimensions = default, bool enableRegionalMdmAccount = false, string sourceMdmAccount = default, string sourceMdmNamespace = default, System.Collections.Generic.IList<string> supportedTimeGrainTypes = default);
new Microsoft.Azure.Management.Media.Models.MetricSpecification : string * string * string * Microsoft.Azure.Management.Media.Models.MetricUnit * Microsoft.Azure.Management.Media.Models.MetricAggregationType * Nullable<Microsoft.Azure.Management.Media.Models.MetricAggregationType> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.MetricDimension> * bool * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Media.Models.MetricSpecification
Public Sub New (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional displayDescription As String = Nothing, Optional unit As MetricUnit = Nothing, Optional aggregationType As MetricAggregationType = Nothing, Optional lockAggregationType As Nullable(Of MetricAggregationType) = Nothing, Optional supportedAggregationTypes As IList(Of String) = Nothing, Optional dimensions As IList(Of MetricDimension) = Nothing, Optional enableRegionalMdmAccount As Boolean = false, Optional sourceMdmAccount As String = Nothing, Optional sourceMdmNamespace As String = Nothing, Optional supportedTimeGrainTypes As IList(Of String) = Nothing)
Parameters
- name
- String
The metric name.
- displayName
- String
The metric display name.
- displayDescription
- String
The metric display description.
- unit
- MetricUnit
The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'
- aggregationType
- MetricAggregationType
The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'
- lockAggregationType
- Nullable<MetricAggregationType>
The metric lock aggregation type. Possible values include: 'Average', 'Count', 'Total'
- dimensions
- IList<MetricDimension>
The metric dimensions.
- enableRegionalMdmAccount
- Boolean
Indicates whether regional MDM account is enabled.
- sourceMdmAccount
- String
The source MDM account.
- sourceMdmNamespace
- String
The source MDM namespace.
Applies to
Azure SDK for .NET