Megosztás a következőn keresztül:


MetricDefinition Class

Definition

The monitoring 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, Nullable<MetricUnit>, Nullable<MetricAggregationType>, String, IList<MetricAvailablity>, IList<MetricDimension>, String, String)

Initializes a new instance of the MetricDefinition class.

Properties

Category

Gets or sets the category of the metric.

Dimensions

Gets or sets the available metric dimensions.

MetricAvailabilities

Gets or sets the available metric granularities.

Name

Gets or sets the metric name.

PrimaryAggregationType

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

ResourceId

Gets or sets the metric source ID.

Type

Gets or sets the metric definition type.

Unit

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

Applies to