PredictiveResponse interface

The response to a metrics query.

Properties

data

the value of the collection.

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.

metricName

The metrics being queried

targetResourceId

resource of the predictive metric.

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.

Property Details

data

the value of the collection.

data?: PredictiveValue[]

Property Value

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

metricName

The metrics being queried

metricName?: string

Property Value

string

targetResourceId

resource of the predictive metric.

targetResourceId?: 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