Skip to content

Commit 6bf460b

Browse files
authored
[Hub Generated] Review request for Microsoft.Advisor to add version preview/2020-07-01-preview (#12117)
* Add new category count * Update GetAdvisorScoreDetail.json * Update ListAdvisorScore.json * Update GetAdvisorScoreDetail.json
1 parent 47a57f6 commit 6bf460b

File tree

3 files changed

+35
-23
lines changed

3 files changed

+35
-23
lines changed

specification/advisor/resource-manager/Microsoft.Advisor/preview/2020-07-01-preview/advisor.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@
230230
"potentialScoreIncrease": {
231231
"description": "The potential percentage increase in overall score at subscription level once all recommendations in this scope are implemented.",
232232
"type": "number"
233+
},
234+
"categoryCount": {
235+
"description": "The count of impacted categories.",
236+
"type": "number",
237+
"readOnly": true
233238
}
234239
}
235240
},
@@ -249,7 +254,7 @@
249254
"month"
250255
]
251256
},
252-
"data": {
257+
"scoreHistory": {
253258
"description": "The past score data",
254259
"type": "array",
255260
"items": {

specification/advisor/resource-manager/Microsoft.Advisor/preview/2020-07-01-preview/examples/GetAdvisorScoreDetail.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
"score": 1,
1616
"consumptionUnits": 12,
1717
"impactedResourceCount": 1,
18-
"potentialScoreIncrease": 0
18+
"potentialScoreIncrease": 0,
19+
"categoryCount": 1
1920
},
2021
"timeSeries": [
2122
{
2223
"aggregationLevel": "day",
23-
"data": [
24+
"scoreHistory": [
2425
{
2526
"date": "2020-06-25T00:00:00Z",
2627
"score": 1,
@@ -74,7 +75,7 @@
7475
},
7576
{
7677
"aggregationLevel": "month",
77-
"data": [
78+
"scoreHistory": [
7879
{
7980
"date": "2020-06-25T00:00:00Z",
8081
"score": 1,
@@ -100,7 +101,7 @@
100101
},
101102
{
102103
"aggregationLevel": "week",
103-
"data": [
104+
"scoreHistory": [
104105
{
105106
"date": "2020-06-25T00:00:00Z",
106107
"score": 1,

specification/advisor/resource-manager/Microsoft.Advisor/preview/2020-07-01-preview/examples/ListAdvisorScore.json

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
"score": 1,
1818
"consumptionUnits": 12.24521,
1919
"impactedResourceCount": 1,
20-
"potentialScoreIncrease": 0
20+
"potentialScoreIncrease": 0,
21+
"categoryCount": 2
2122
},
2223
"timeSeries": [
2324
{
2425
"aggregationLevel": "day",
25-
"data": [
26+
"scoreHistory": [
2627
{
2728
"date": "2020-06-25T00:00:00Z",
2829
"score": 1,
@@ -76,7 +77,7 @@
7677
},
7778
{
7879
"aggregationLevel": "month",
79-
"data": [
80+
"scoreHistory": [
8081
{
8182
"date": "2020-06-25T00:00:00Z",
8283
"score": 1,
@@ -102,7 +103,7 @@
102103
},
103104
{
104105
"aggregationLevel": "week",
105-
"data": [
106+
"scoreHistory": [
106107
{
107108
"date": "2020-06-25T00:00:00Z",
108109
"score": 1,
@@ -160,12 +161,13 @@
160161
"score": 1,
161162
"consumptionUnits": 12.24521,
162163
"impactedResourceCount": 1,
163-
"potentialScoreIncrease": 0
164+
"potentialScoreIncrease": 0,
165+
"categoryCount": 2
164166
},
165167
"timeSeries": [
166168
{
167169
"aggregationLevel": "day",
168-
"data": [
170+
"scoreHistory": [
169171
{
170172
"date": "2020-06-25T00:00:00Z",
171173
"score": 1,
@@ -177,7 +179,7 @@
177179
},
178180
{
179181
"aggregationLevel": "month",
180-
"data": [
182+
"scoreHistory": [
181183
{
182184
"date": "2020-05-30T00:00:00Z",
183185
"score": 1,
@@ -189,7 +191,7 @@
189191
},
190192
{
191193
"aggregationLevel": "week",
192-
"data": [
194+
"scoreHistory": [
193195
{
194196
"date": "2020-06-25T00:00:00Z",
195197
"score": 1,
@@ -212,12 +214,13 @@
212214
"score": 1,
213215
"consumptionUnits": 12.24521,
214216
"impactedResourceCount": 1,
215-
"potentialScoreIncrease": 0
217+
"potentialScoreIncrease": 0,
218+
"categoryCount": 3
216219
},
217220
"timeSeries": [
218221
{
219222
"aggregationLevel": "day",
220-
"data": [
223+
"scoreHistory": [
221224
{
222225
"date": "2020-06-25T00:00:00Z",
223226
"score": 1,
@@ -229,7 +232,7 @@
229232
},
230233
{
231234
"aggregationLevel": "month",
232-
"data": [
235+
"scoreHistory": [
233236
{
234237
"date": "2020-05-30T00:00:00Z",
235238
"score": 1,
@@ -241,7 +244,7 @@
241244
},
242245
{
243246
"aggregationLevel": "week",
244-
"data": [
247+
"scoreHistory": [
245248
{
246249
"date": "2020-06-25T00:00:00Z",
247250
"score": 1,
@@ -264,12 +267,13 @@
264267
"score": 1,
265268
"consumptionUnits": 12.24521,
266269
"impactedResourceCount": 1,
267-
"potentialScoreIncrease": 0
270+
"potentialScoreIncrease": 0,
271+
"categoryCount": 2
268272
},
269273
"timeSeries": [
270274
{
271275
"aggregationLevel": "day",
272-
"data": [
276+
"scoreHistory": [
273277
{
274278
"date": "2020-06-25T00:00:00Z",
275279
"score": 1,
@@ -292,12 +296,13 @@
292296
"score": 1,
293297
"consumptionUnits": 12.24521,
294298
"impactedResourceCount": 1,
295-
"potentialScoreIncrease": 0
299+
"potentialScoreIncrease": 0,
300+
"categoryCount": 1
296301
},
297302
"timeSeries": [
298303
{
299304
"aggregationLevel": "day",
300-
"data": [
305+
"scoreHistory": [
301306
{
302307
"date": "2020-06-25T00:00:00Z",
303308
"score": 1,
@@ -320,12 +325,13 @@
320325
"score": 1,
321326
"consumptionUnits": 12.24521,
322327
"impactedResourceCount": 1,
323-
"potentialScoreIncrease": 0
328+
"potentialScoreIncrease": 0,
329+
"categoryCount": 1
324330
},
325331
"timeSeries": [
326332
{
327333
"aggregationLevel": "day",
328-
"data": [
334+
"scoreHistory": [
329335
{
330336
"date": "2020-06-25T00:00:00Z",
331337
"score": 1,

0 commit comments

Comments
 (0)