Skip to content

Commit 7473936

Browse files
authored
add x-ms-identifiers for iotsecurity (#19981)
1 parent 352507b commit 7473936

File tree

3 files changed

+55
-23
lines changed

3 files changed

+55
-23
lines changed

specification/iotsecurity/resource-manager/Microsoft.IoTSecurity/preview/2021-02-01-preview/defenderSettings.json

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@
439439
"readOnly": true,
440440
"items": {
441441
"$ref": "#/definitions/PackageDownloadInfo"
442-
}
442+
},
443+
"x-ms-identifiers": []
443444
},
444445
"ovf": {
445446
"type": "object",
@@ -451,23 +452,26 @@
451452
"readOnly": true,
452453
"items": {
453454
"$ref": "#/definitions/PackageDownloadInfo"
454-
}
455+
},
456+
"x-ms-identifiers": []
455457
},
456458
"medium": {
457459
"type": "array",
458460
"description": "Medium package type",
459461
"readOnly": true,
460462
"items": {
461463
"$ref": "#/definitions/PackageDownloadInfo"
462-
}
464+
},
465+
"x-ms-identifiers": []
463466
},
464467
"line": {
465468
"type": "array",
466469
"description": "Line package type",
467470
"readOnly": true,
468471
"items": {
469472
"$ref": "#/definitions/PackageDownloadInfo"
470-
}
473+
},
474+
"x-ms-identifiers": []
471475
}
472476
}
473477
}
@@ -478,7 +482,8 @@
478482
"description": "Sensor upgrade package downloads (on existing installations)",
479483
"items": {
480484
"$ref": "#/definitions/UpgradePackageDownloadInfo"
481-
}
485+
},
486+
"x-ms-identifiers": []
482487
}
483488
}
484489
},
@@ -498,7 +503,8 @@
498503
"readOnly": true,
499504
"items": {
500505
"$ref": "#/definitions/PackageDownloadInfo"
501-
}
506+
},
507+
"x-ms-identifiers": []
502508
},
503509
"ovf": {
504510
"type": "object",
@@ -511,31 +517,35 @@
511517
"readOnly": true,
512518
"items": {
513519
"$ref": "#/definitions/PackageDownloadInfo"
514-
}
520+
},
521+
"x-ms-identifiers": []
515522
},
516523
"enterpriseHighAvailability": {
517524
"type": "array",
518525
"description": "The EnterpriseHighAvailability package type",
519526
"readOnly": true,
520527
"items": {
521528
"$ref": "#/definitions/PackageDownloadInfo"
522-
}
529+
},
530+
"x-ms-identifiers": []
523531
},
524532
"medium": {
525533
"type": "array",
526534
"description": "The Medium package type",
527535
"readOnly": true,
528536
"items": {
529537
"$ref": "#/definitions/PackageDownloadInfo"
530-
}
538+
},
539+
"x-ms-identifiers": []
531540
},
532541
"mediumHighAvailability": {
533542
"type": "array",
534543
"description": "The MediumHighAvailability package type",
535544
"readOnly": true,
536545
"items": {
537546
"$ref": "#/definitions/PackageDownloadInfo"
538-
}
547+
},
548+
"x-ms-identifiers": []
539549
}
540550
}
541551
}
@@ -557,39 +567,44 @@
557567
"readOnly": true,
558568
"items": {
559569
"$ref": "#/definitions/PackageDownloadInfo"
560-
}
570+
},
571+
"x-ms-identifiers": []
561572
},
562573
"snmp": {
563574
"type": "array",
564575
"description": "SNMP Server file",
565576
"readOnly": true,
566577
"items": {
567578
"$ref": "#/definitions/PackageDownloadInfo"
568-
}
579+
},
580+
"x-ms-identifiers": []
569581
},
570582
"wmiTool": {
571583
"type": "array",
572584
"description": "Used for local configuration export",
573585
"readOnly": true,
574586
"items": {
575587
"$ref": "#/definitions/PackageDownloadInfo"
576-
}
588+
},
589+
"x-ms-identifiers": []
577590
},
578591
"authorizedDevicesImportTemplate": {
579592
"type": "array",
580593
"description": "Authorized devices import template",
581594
"readOnly": true,
582595
"items": {
583596
"$ref": "#/definitions/PackageDownloadInfo"
584-
}
597+
},
598+
"x-ms-identifiers": []
585599
},
586600
"deviceInformationUpdateImportTemplate": {
587601
"type": "array",
588602
"description": "Authorized devices import template",
589603
"readOnly": true,
590604
"items": {
591605
"$ref": "#/definitions/PackageDownloadInfo"
592-
}
606+
},
607+
"x-ms-identifiers": []
593608
}
594609
}
595610
}

specification/iotsecurity/resource-manager/Microsoft.IoTSecurity/preview/2021-02-01-preview/devices.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,8 @@
320320
"description": "List of device firmwares.",
321321
"items": {
322322
"$ref": "#/definitions/Firmware"
323-
}
323+
},
324+
"x-ms-identifiers": []
324325
},
325326
"operatingSystem": {
326327
"type": "object",
@@ -389,7 +390,8 @@
389390
"description": "List of the device network interface cards.",
390391
"items": {
391392
"$ref": "#/definitions/Nic"
392-
}
393+
},
394+
"x-ms-identifiers": []
393395
},
394396
"deviceStatus": {
395397
"readOnly": true,
@@ -412,7 +414,8 @@
412414
"description": "List of the device slot in the backplane",
413415
"items": {
414416
"$ref": "#/definitions/Slot"
415-
}
417+
},
418+
"x-ms-identifiers": []
416419
},
417420
"parentDeviceId": {
418421
"readOnly": true,
@@ -436,7 +439,8 @@
436439
"description": "List of device packages",
437440
"items": {
438441
"$ref": "#/definitions/Package"
439-
}
442+
},
443+
"x-ms-identifiers": []
440444
},
441445
"additionalFields": {
442446
"type": "object",

specification/iotsecurity/resource-manager/Microsoft.IoTSecurity/preview/2021-02-01-preview/operations.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
"items": {
8787
"$ref": "#/definitions/ErrorModel"
8888
},
89+
"x-ms-identifiers": [
90+
"code"
91+
],
8992
"readOnly": true
9093
},
9194
"message": {
@@ -122,7 +125,8 @@
122125
"type": "array",
123126
"items": {
124127
"$ref": "#/definitions/Operation"
125-
}
128+
},
129+
"x-ms-identifiers": []
126130
}
127131
}
128132
},
@@ -195,15 +199,21 @@
195199
"type": "array",
196200
"items": {
197201
"$ref": "#/definitions/OperationMetaLogSpecification"
198-
}
202+
},
203+
"x-ms-identifiers": [
204+
"name"
205+
]
199206
},
200207
"metricSpecifications": {
201208
"description": "metric specifications for the operation",
202209
"uniqueItems": false,
203210
"type": "array",
204211
"items": {
205212
"$ref": "#/definitions/OperationMetaMetricSpecification"
206-
}
213+
},
214+
"x-ms-identifiers": [
215+
"name"
216+
]
207217
}
208218
}
209219
},
@@ -221,7 +231,10 @@
221231
"type": "array",
222232
"items": {
223233
"$ref": "#/definitions/DimensionProperties"
224-
}
234+
},
235+
"x-ms-identifiers": [
236+
"name"
237+
]
225238
},
226239
"displayDescription": {
227240
"description": "description of the metric",

0 commit comments

Comments
 (0)