Skip to content

Commit d50ea72

Browse files
authored
Updating Package Manifest Schema in Private Preview API (#11688)
1 parent 655d447 commit d50ea72

File tree

3 files changed

+88
-11
lines changed

3 files changed

+88
-11
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,7 @@ SMBIOS
16041604
snapshotrun
16051605
snapshotsdr
16061606
SNAT
1607+
SNMP
16071608
softwareplan
16081609
SOHSV
16091610
solaris

specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotDefenderSettings/PackageDownloads.json

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@
6262
"upgrade": [
6363
{
6464
"version": "2.8.2",
65+
"fromVersion": "2.8.0",
6566
"link": "http://microsoft.com/downloadLocation",
6667
"versionKind": "Latest"
6768
},
6869
{
6970
"version": "2.8.10",
71+
"fromVersion": "2.8.0",
7072
"link": "http://microsoft.com/downloadLocation",
7173
"versionKind": "Previous"
7274
}
@@ -120,19 +122,48 @@
120122
"upgrade": [
121123
{
122124
"version": "2.8.2",
125+
"fromVersion": "2.8.0",
123126
"link": "http://microsoft.com/downloadLocation",
124127
"versionKind": "Latest"
125128
},
126129
{
127130
"version": "2.8.10",
131+
"fromVersion": "2.8.0",
128132
"link": "http://microsoft.com/downloadLocation",
129133
"versionKind": "Previous"
130134
}
131135
]
132136
},
133-
"threatIntelligence": {
134-
"link": "http://microsoft.com/downloadLocation"
135-
}
137+
"threatIntelligence": [
138+
{
139+
"link": "http://microsoft.com/downloadLocation",
140+
"version": "2020.02.10"
141+
}
142+
],
143+
"snmp": [
144+
{
145+
"link": "http://microsoft.com/downloadLocation",
146+
"version": "2020.02.10"
147+
}
148+
],
149+
"wmiTool": [
150+
{
151+
"link": "http://microsoft.com/downloadLocation",
152+
"version": "2020.02.10"
153+
}
154+
],
155+
"authorizedDevicesImportTemplate": [
156+
{
157+
"link": "http://microsoft.com/downloadLocation",
158+
"version": "2020.02.10"
159+
}
160+
],
161+
"deviceInformationUpdateImportTemplate": [
162+
{
163+
"link": "http://microsoft.com/downloadLocation",
164+
"version": "2020.02.10"
165+
}
166+
]
136167
}
137168
}
138169
}

specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotDefenderSettings.json

Lines changed: 53 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,22 @@
359359
}
360360
}
361361
},
362+
"UpgradePackageDownloadInfo": {
363+
"type": "object",
364+
"description": "Information on a specific package upgrade download",
365+
"properties": {
366+
"fromVersion": {
367+
"type": "string",
368+
"description": "Minimum base version for upgrade",
369+
"readOnly": true
370+
}
371+
},
372+
"allOf": [
373+
{
374+
"$ref": "#/definitions/PackageDownloadInfo"
375+
}
376+
]
377+
},
362378
"PackageDownloads": {
363379
"type": "object",
364380
"description": "Information about package downloads",
@@ -418,7 +434,7 @@
418434
"type": "array",
419435
"description": "Sensor upgrade package downloads (on existing installations)",
420436
"items": {
421-
"$ref": "#/definitions/PackageDownloadInfo"
437+
"$ref": "#/definitions/UpgradePackageDownloadInfo"
422438
}
423439
}
424440
}
@@ -487,20 +503,49 @@
487503
"description": "Central Manager upgrade package downloads (on existing installations)",
488504
"readOnly": true,
489505
"items": {
490-
"$ref": "#/definitions/PackageDownloadInfo"
506+
"$ref": "#/definitions/UpgradePackageDownloadInfo"
491507
}
492508
}
493509
}
494510
},
495511
"threatIntelligence": {
496-
"type": "object",
512+
"type": "array",
497513
"description": "All downloads for threat intelligence",
498514
"readOnly": true,
499-
"properties": {
500-
"link": {
501-
"description": "Download link",
502-
"$ref": "#/definitions/DownloadLink"
503-
}
515+
"items": {
516+
"$ref": "#/definitions/PackageDownloadInfo"
517+
}
518+
},
519+
"snmp": {
520+
"type": "array",
521+
"description": "SNMP Server file",
522+
"readOnly": true,
523+
"items": {
524+
"$ref": "#/definitions/PackageDownloadInfo"
525+
}
526+
},
527+
"wmiTool": {
528+
"type": "array",
529+
"description": "Used for local configuration export",
530+
"readOnly": true,
531+
"items": {
532+
"$ref": "#/definitions/PackageDownloadInfo"
533+
}
534+
},
535+
"authorizedDevicesImportTemplate": {
536+
"type": "array",
537+
"description": "Authorized devices import template",
538+
"readOnly": true,
539+
"items": {
540+
"$ref": "#/definitions/PackageDownloadInfo"
541+
}
542+
},
543+
"deviceInformationUpdateImportTemplate": {
544+
"type": "array",
545+
"description": "Authorized devices import template",
546+
"readOnly": true,
547+
"items": {
548+
"$ref": "#/definitions/PackageDownloadInfo"
504549
}
505550
}
506551
}

0 commit comments

Comments
 (0)