Package version:

Interface MetricSpecification

Metric specification of operation.

interface MetricSpecification {
    aggregationType?: string;
    category?: string;
    dimensions?: Dimension[];
    displayDescription?: string;
    displayName?: string;
    enableRegionalMdmAccount?: boolean;
    fillGapWithZero?: boolean;
    internalMetricName?: string;
    isInternal?: boolean;
    name?: string;
    resourceIdDimensionNameOverride?: string;
    sourceMdmAccount?: string;
    sourceMdmNamespace?: string;
    supportedAggregationTypes?: string[];
    supportedTimeGrainTypes?: string[];
    unit?: string;
}

Properties

aggregationType?: string

Aggregation type could be Average.

category?: string

The category this metric specification belong to, could be Capacity.

dimensions?: Dimension[]

Dimensions of blobs, including blob type and access tier.

displayDescription?: string

Display description of metric specification.

displayName?: string

Display name of metric specification.

enableRegionalMdmAccount?: boolean

Whether or not the service is using regional MDM accounts.

fillGapWithZero?: boolean

The property to decide fill gap with zero or not.

internalMetricName?: string

The internal metric name.

isInternal?: boolean

Whether the metric is internal.

name?: string

Name of metric specification.

resourceIdDimensionNameOverride?: string

Account Resource Id.

sourceMdmAccount?: string

The source MDM account.

sourceMdmNamespace?: string

The source MDM namespace.

supportedAggregationTypes?: string[]

Support metric aggregation type.

supportedTimeGrainTypes?: string[]

The supported time grain types for the metrics.

unit?: string

Unit could be Bytes or Count.