MetricDefinition Class

Definition

A database metric definition.

public class MetricDefinition
type MetricDefinition = class
Public Class MetricDefinition
Inheritance
MetricDefinition

Constructors

MetricDefinition()

Initializes a new instance of the MetricDefinition class.

MetricDefinition(MetricName, PrimaryAggregationType, String, UnitDefinitionType, IList<MetricAvailability>)

Initializes a new instance of the MetricDefinition class.

Properties

MetricAvailabilities

Gets the list of database metric availabilities for the metric.

Name

Gets the name information for the metric.

PrimaryAggregationType

Gets the primary aggregation type defining how metric values are displayed. Possible values include: 'None', 'Average', 'Count', 'Minimum', 'Maximum', 'Total'

ResourceUri

Gets the resource uri of the database.

Unit

Gets the unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond'

Applies to