Response interface

The response to a metrics query.

Properties

cost

The integer value representing the relative cost of the query.

interval

The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.

namespace

The namespace of the metrics being queried

resourceregion

The region of the resource being queried for metrics.

timespan

The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.

value

the value of the collection.

Property Details

cost

The integer value representing the relative cost of the query.

cost?: number

Property Value

number

interval

The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.

interval?: string

Property Value

string

namespace

The namespace of the metrics being queried

namespace?: string

Property Value

string

resourceregion

The region of the resource being queried for metrics.

resourceregion?: string

Property Value

string

timespan

The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.

timespan: string

Property Value

string

value

the value of the collection.

value: Metric[]

Property Value

Metric[]