Skip to main content

baselines

Creates, updates, deletes, gets or lists a baselines resource.

Overview

Namebaselines
TypeResource
Idazure.monitor.baselines

Fields

NameDatatypeDescription
idstringThe metric baseline Id.
namestringThe name of the metric for which the baselines were retrieved.
propertiesobjectThe response to a metric baselines query.
typestringThe resource type of the metric baseline resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTinterval, metricName, resourceUri, timespanLists the metric baseline values for a resource.

SELECT examples

Lists the metric baseline values for a resource.

SELECT
id,
name,
properties,
type
FROM azure.monitor.baselines
WHERE interval = '{{ interval }}'
AND metricName = '{{ metricName }}'
AND resourceUri = '{{ resourceUri }}'
AND timespan = '{{ timespan }}';