MetricDefinition 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
MetricDefinition() |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition(MetricName, PrimaryAggregationType, String, UnitDefinitionType, IList<MetricAvailability>) |
Initializes a new instance of the MetricDefinition class. |
MetricDefinition()
Initializes a new instance of the MetricDefinition class.
public MetricDefinition ();
Public Sub New ()
Applies to
MetricDefinition(MetricName, PrimaryAggregationType, String, UnitDefinitionType, IList<MetricAvailability>)
Initializes a new instance of the MetricDefinition class.
public MetricDefinition (Microsoft.Azure.Management.Sql.Fluent.Models.MetricName name = default, Microsoft.Azure.Management.Sql.Fluent.Models.PrimaryAggregationType primaryAggregationType = default, string resourceUri = default, Microsoft.Azure.Management.Sql.Fluent.Models.UnitDefinitionType unit = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Fluent.Models.MetricAvailability> metricAvailabilities = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.MetricDefinition : Microsoft.Azure.Management.Sql.Fluent.Models.MetricName * Microsoft.Azure.Management.Sql.Fluent.Models.PrimaryAggregationType * string * Microsoft.Azure.Management.Sql.Fluent.Models.UnitDefinitionType * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Fluent.Models.MetricAvailability> -> Microsoft.Azure.Management.Sql.Fluent.Models.MetricDefinition
Public Sub New (Optional name As MetricName = Nothing, Optional primaryAggregationType As PrimaryAggregationType = Nothing, Optional resourceUri As String = Nothing, Optional unit As UnitDefinitionType = Nothing, Optional metricAvailabilities As IList(Of MetricAvailability) = Nothing)
Parameters
- name
- MetricName
The name information for the metric.
- primaryAggregationType
- PrimaryAggregationType
The primary aggregation type defining how metric values are displayed. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'
- resourceUri
- String
The resource uri of the database.
- unit
- UnitDefinitionType
The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond'
- metricAvailabilities
- IList<MetricAvailability>
The list of database metric availabilities for the metric.
Applies to
Azure SDK for .NET