BaselineResponse Class

The response to a baseline query.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
BaselineResponse

Constructor

BaselineResponse(*, timestamps: Optional[List[datetime.datetime]] = None, baseline: Optional[List[azure.mgmt.monitor.v2018_09_01.models._models_py3.Baseline]] = None, metdata: Optional[List[azure.mgmt.monitor.v2018_09_01.models._models_py3.BaselineMetadataValue]] = None, prediction_result_type: Optional[Union[int, azure.mgmt.monitor.v2018_09_01.models._monitor_management_client_enums.PredictionResultType]] = None, error_type: Optional[Union[int, azure.mgmt.monitor.v2018_09_01.models._monitor_management_client_enums.ErrorType]] = None, timespan: Optional[str] = None, interval: Optional[datetime.timedelta] = None, aggregation: Optional[str] = None, **kwargs)

Variables

id
str

The metric baseline ID.

type
str

The resource type of the baseline resource.

name
<xref:$>(<xref:python-base-namespace>)LocalizableString

The name and the display name of the metric, i.e. it is localizable string.

timestamps
list[datetime]

The array of timestamps of the baselines.

baseline
list[<xref:$>(<xref:python-base-namespace>)Baseline]

The baseline values for each sensitivity.

metdata
list[<xref:$>(<xref:python-base-namespace>)BaselineMetadataValue]

The baseline metadata values.

prediction_result_type
int or <xref:$>(<xref:python-base-namespace>)PredictionResultType

The prediction result type of the baseline. Possible values include: 0, 1, 2.

error_type
int or <xref:$>(<xref:python-base-namespace>)ErrorType

The error type of the baseline. Possible values include: 0, 1, 2, 3, 4, 100, 200.

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.

interval
timedelta

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.

aggregation
str

The aggregation type of the metric.

internal_operation_id
str

internal operation id.