Microsoft.Insights (stable:2018-09-01)

2024/12/05 • 1 updated methods

Baselines_List (updated)
Description **Lists the metric baseline values for a resource**.
Reference Link ¶

⚶ Changes

{
  "#id": "Baselines_List",
  "$parameters": [
    {
      "#name": "metricnamespace",
      "Description": {
        "new": "Metric namespace that contains the requested metric names.",
        "old": "Metric namespace to query metric definitions for."
      }
    }
  ]
}

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.Insights/metricBaselines
{
resourceUri: string ,
metricnames: string ,
metricnamespace: string ,
timespan: string ,
interval: string ,
aggregation: string ,
sensitivities: string ,
$filter: string ,
resultType: string ,
api-version: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}

⚐ Response (200)

{
timespan: string ,
interval: string ,
namespace: string ,
value:
[
{
id: string ,
type: string ,
metricName: string ,
baselines:
[
{
aggregation: string ,
dimensions:
[
{
name: string ,
value: string ,
}
,
]
,
timestamps:
[
string ,
]
,
data:
[
{
sensitivity: enum ,
lowThresholds:
[
number ,
]
,
highThresholds:
[
number ,
]
,
}
,
]
,
metadataValues:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}