Skip to content

Commit 98e3194

Browse files
PatrickTsengLeiWang3
authored andcommitted
Add 2021-05-01-preview swagger API support for Autoscale newly added fields and new controller path. (Azure#16463)
* Initially cut, cloned from know existing GA bits (IE \specification\monitor\resource-manager\Microsoft.Insights\stable\2015-04-01) * rev API version, add new controller API path, and update JSON showing newly added predictiveAutoscalePolicy field
1 parent 396e2f0 commit 98e3194

File tree

9 files changed

+2455
-1
lines changed

9 files changed

+2455
-1
lines changed

specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/autoscale_API.json

Lines changed: 1091 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "myRG",
5+
"autoscaleSettingName": "vmss1-Autoscale-775",
6+
"timespan": "2021-10-14T22:00:00.000Z/2021-10-16T22:00:00.000Z",
7+
"metricNamespace": "Microsoft.Compute/virtualMachineScaleSets",
8+
"metricName": "PercentageCPU",
9+
"aggregation": "Total",
10+
"interval": "PT1H",
11+
"api-version": "2021-05-01-preview"
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"timespan": "2021-10-14T22:00:00.000Z/2021-10-16T22:00:00.000Z",
17+
"interval": "PT1H",
18+
"metricName": "PercentageCPU",
19+
"targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRG/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1",
20+
"data": [
21+
{
22+
"timeStamp": "2021-10-14T22:00:00Z",
23+
"value": 123.0
24+
},
25+
{
26+
"timeStamp": "2021-10-14T22:02:00Z",
27+
"value": 120.0
28+
},
29+
{
30+
"timeStamp": "2021-10-14T22:02:00Z",
31+
"value": 88.0
32+
},
33+
{
34+
"timeStamp": "2021-10-14T22:03:00Z",
35+
"value": 100.0
36+
}
37+
]
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)