SingleMetricBaseline Class

The baseline results of a single metric.

All required parameters must be populated in order to send to server.

Constructor

SingleMetricBaseline(*, id: str, type: str, name: str, timespan: str, interval: timedelta, baselines: List[_models.TimeSeriesBaseline], namespace: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

The metric baseline Id. Required.

type
str

The resource type of the metric baseline resource. Required.

name
str

The name of the metric for which the baselines were retrieved. Required.

timespan
str

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. Required.

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. Required.

namespace
str

The namespace of the metrics been queried.

Default value: None
baselines

The baseline for each time series that was queried. Required.

Variables

Name Description
id
str

The metric baseline Id. Required.

type
str

The resource type of the metric baseline resource. Required.

name
str

The name of the metric for which the baselines were retrieved. Required.

timespan
str

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. Required.

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. Required.

namespace
str

The namespace of the metrics been queried.

baselines

The baseline for each time series that was queried. Required.