Skip to content

Commit e94b0da

Browse files
authored
Add xms-ids for monitor (#17851)
* add xms-ids for monitor * inner properties * change operator to name
1 parent 11477a1 commit e94b0da

File tree

16 files changed

+179
-10
lines changed

16 files changed

+179
-10
lines changed

specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,19 @@
304304
"items": {
305305
"$ref": "#/definitions/MetricSettings"
306306
},
307+
"x-ms-identifiers": [
308+
"category"
309+
],
307310
"description": "The list of metric settings."
308311
},
309312
"logs": {
310313
"type": "array",
311314
"items": {
312315
"$ref": "#/definitions/LogSettings"
313316
},
317+
"x-ms-identifiers": [
318+
"category"
319+
],
314320
"description": "The list of logs settings."
315321
},
316322
"workspaceId": {

specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@
236236
"items": {
237237
"$ref": "#/definitions/DataContainer"
238238
},
239+
"x-ms-identifiers": [
240+
"/workspace/id"
241+
],
239242
"description": "Containers that currently store VM Insights data for the specified resource."
240243
}
241244
},

specification/monitor/resource-manager/Microsoft.Insights/preview/2019-10-17-preview/privateLinkScopes_API.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,9 @@
11221122
"items": {
11231123
"$ref": "#/definitions/ErrorResponseCommon"
11241124
},
1125+
"x-ms-identifiers": [
1126+
"code"
1127+
],
11251128
"description": "The error details."
11261129
},
11271130
"additionalInfo": {
@@ -1130,6 +1133,7 @@
11301133
"items": {
11311134
"$ref": "#/definitions/ErrorAdditionalInfo"
11321135
},
1136+
"x-ms-identifiers": [],
11331137
"description": "The error additional info."
11341138
}
11351139
},

specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,9 @@
457457
"items": {
458458
"$ref": "#/definitions/ScaleRuleMetricDimension"
459459
},
460+
"x-ms-identifiers": [
461+
"DimensionName"
462+
],
460463
"description": "List of dimension conditions. For example: [{\"DimensionName\":\"AppName\",\"Operator\":\"Equals\",\"Values\":[\"App1\"]},{\"DimensionName\":\"Deployment\",\"Operator\":\"Equals\",\"Values\":[\"default\"]}]."
461464
},
462465
"dividePerInstance": {
@@ -642,6 +645,9 @@
642645
"items": {
643646
"$ref": "#/definitions/ScaleRule"
644647
},
648+
"x-ms-identifiers": [
649+
"/metricTrigger/metricName"
650+
],
645651
"description": "the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified."
646652
},
647653
"fixedDate": {
@@ -718,6 +724,9 @@
718724
"items": {
719725
"$ref": "#/definitions/WebhookNotification"
720726
},
727+
"x-ms-identifiers": [
728+
"serviceUri"
729+
],
721730
"description": "the collection of webhook notifications."
722731
}
723732
},
@@ -734,13 +743,17 @@
734743
"items": {
735744
"$ref": "#/definitions/AutoscaleProfile"
736745
},
746+
"x-ms-identifiers": [
747+
"name"
748+
],
737749
"description": "the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified."
738750
},
739751
"notifications": {
740752
"type": "array",
741753
"items": {
742754
"$ref": "#/definitions/AutoscaleNotification"
743755
},
756+
"x-ms-identifiers": [],
744757
"description": "the collection of notifications."
745758
},
746759
"enabled": {

specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
"items": {
9898
"$ref": "#/definitions/LocalizableString"
9999
},
100+
"x-ms-identifiers": [
101+
"value"
102+
],
100103
"description": "the list that includes the Azure event categories."
101104
}
102105
},

specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
"items": {
7474
"$ref": "#/definitions/Operation"
7575
},
76+
"x-ms-identifiers": [
77+
"name"
78+
],
7679
"description": "List of operations supported by the Microsoft.Insights provider."
7780
},
7881
"nextLink": {

specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@
165165
"items": {
166166
"$ref": "#/definitions/Incident"
167167
},
168+
"x-ms-identifiers": [
169+
"name"
170+
],
168171
"description": "the incident collection."
169172
}
170173
},

specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@
654654
"items": {
655655
"$ref": "#/definitions/RuleAction"
656656
},
657+
"x-ms-identifiers": [],
657658
"description": "the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved."
658659
},
659660
"lastUpdatedTime": {

specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
"items": {
221221
"$ref": "#/definitions/MetricAvailability"
222222
},
223+
"x-ms-identifiers": [],
223224
"description": "the collection of what aggregation intervals are available to be queried."
224225
},
225226
"id": {
@@ -231,6 +232,9 @@
231232
"items": {
232233
"$ref": "#/definitions/LocalizableString"
233234
},
235+
"x-ms-identifiers": [
236+
"value"
237+
],
234238
"description": "the name and the display name of the dimension, i.e. it is a localizable string."
235239
}
236240
},

specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@
277277
"items": {
278278
"$ref": "#/definitions/TimeSeriesElement"
279279
},
280+
"x-ms-identifiers": [],
280281
"description": "the time series returned when a data query is performed."
281282
}
282283
},
@@ -297,13 +298,19 @@
297298
"items": {
298299
"$ref": "#/definitions/MetadataValue"
299300
},
301+
"x-ms-identifiers": [
302+
"name"
303+
],
300304
"description": "the metadata values returned if $filter was specified in the call."
301305
},
302306
"data": {
303307
"type": "array",
304308
"items": {
305309
"$ref": "#/definitions/MetricValue"
306310
},
311+
"x-ms-identifiers": [
312+
"timeStamp"
313+
],
307314
"description": "An array of data points representing the metric values. This is only returned if a result type of data is specified."
308315
}
309316
},

0 commit comments

Comments
 (0)