Package version:

Interface MetricSpecification

Metric specification of operation.

interface MetricSpecification {
    aggregationType?: string;
    dimensions?: DimensionProperties[];
    displayDescription?: string;
    displayName?: string;
    fillGapWithZero?: boolean;
    internalMetricName?: string;
    lockAggregationType?: string;
    name?: string;
    supportedAggregationTypes?: string[];
    supportedTimeGrainTypes?: string[];
    unit?: string;
}

Properties

aggregationType?: string

The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'.

dimensions?: DimensionProperties[]

The dimensions of metric

displayDescription?: string

Display description of metric specification.

displayName?: string

Display name of metric specification.

fillGapWithZero?: boolean

Property to specify whether to fill gap with zero.

internalMetricName?: string

The internal metric name.

lockAggregationType?: string

The metric lock aggregation type.

name?: string

Name of metric specification.

supportedAggregationTypes?: string[]

The supported aggregation types for the metrics.

supportedTimeGrainTypes?: string[]

The supported time grain types for the metrics.

unit?: string

The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'.