Condividi tramite


MetricDefinition Class

Definition

The definition of a metric.

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

Constructors

MetricDefinition()

Initializes a new instance of the MetricDefinition class.

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

Initializes a new instance of the MetricDefinition class.

Properties

MetricAvailabilities

Gets the list of metric availabilities for the account.

Name

Gets the name information for the metric.

PrimaryAggregationType

Gets the primary aggregation type of the metric. Possible values include: 'None', 'Average', 'Total', 'Minimum', 'Maximum', 'Last'

ResourceUri

Gets the resource uri of the database.

Unit

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

Applies to