Package version:

The result data of a query.

interface Metric {
    description?: string;
    errorCode?: string;
    errorMessage?: string;
    id: string;
    name: string;
    timeseries: {};
    type: string;
    unit: string;
}

Properties

description?: string

Detailed description of this metric.

errorCode?: string

'Success' or the error details on query failures for this metric.

errorMessage?: string

Error message encountered querying this specific metric.

id: string

the metric Id.

name: string

the name of the metric

timeseries: {}

the time series returned when a data query is performed.

type: string

the resource type of the metric resource.

unit: string

the unit of the metric.