Skip to content

Commit 4f867b4

Browse files
huinanliuHuinan Liu
andauthored
Users/huliu/fist 2021 11 10 privatepreview prod1119 (#5585)
* initial checkin spec * fixed some typo * validation fixes * add provisioningState * operations response fix * remove operation properties * fixed operations api * passed validation Co-authored-by: Huinan Liu <huliu@microsoft.com>
1 parent 8ed062f commit 4f867b4

28 files changed

+2002
-0
lines changed

custom-words.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ Filestream
505505
filesystems
506506
fileurl
507507
findsimilars
508+
firmwares
509+
Firmwares
508510
flink
509511
fluentd
510512
forestsummary
@@ -1118,6 +1120,8 @@ reimageall
11181120
reimaged
11191121
Reimages
11201122
reimaging
1123+
relro
1124+
RELRO
11211125
remediate
11221126
remediated
11231127
Remediations
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e",
6+
"parameters": {
7+
"properties": {
8+
"fileName": "Contoso Printer A1212 - 20.1",
9+
"vendor": "Contoso",
10+
"model": "A1212",
11+
"version": "20.1",
12+
"description": "Printer firmware by Contoso"
13+
}
14+
},
15+
"api-version": "2021-11-10-privatepreview"
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"properties": {
21+
"fileName": "Contoso Printer A1212 - 20.1",
22+
"vendor": "Contoso",
23+
"model": "A1212",
24+
"version": "20.1",
25+
"description": "Printer firmware by Contoso",
26+
"status": "Processing"
27+
}
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"parameters": {},
6+
"api-version": "2021-11-10-privatepreview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"name": "default"
12+
}
13+
}
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e",
6+
"api-version": "2021-11-10-privatepreview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"api-version": "2021-11-10-privatepreview"
6+
},
7+
"responses": {
8+
"200": {},
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e",
6+
"api-version": "2021-11-10-privatepreview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"properties": {
12+
"fileName": "Contoso Printer A1212 - 20.1",
13+
"vendor": "Contoso",
14+
"model": "A1212",
15+
"version": "20.1",
16+
"description": "Printer firmware by Contoso",
17+
"status": "Processing"
18+
}
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"parameters": {},
6+
"api-version": "2021-11-10-privatepreview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {}
11+
}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"api-version": "2021-11-10-privatepreview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"name": "Contoso Firmware1"
12+
},
13+
{
14+
"name": "Contoso Firmware2"
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617",
4+
"firmwareGroupName": "default",
5+
"api-version": "2021-11-10-privatepreview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"properties": {
13+
"fileName": "Contoso Printer A1212 - 20.1",
14+
"vendor": "Contoso",
15+
"model": "A1212",
16+
"version": "20.1",
17+
"description": "Printer firmware by Contoso",
18+
"status": "Processing"
19+
}
20+
},
21+
{
22+
"properties": {
23+
"fileName": "Contoso Printer A1212 - 20.2",
24+
"vendor": "Contoso",
25+
"model": "A1212",
26+
"version": "20.2",
27+
"description": "Printer firmware by Contoso",
28+
"status": "Processing"
29+
}
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-11-10-privatepreview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "microsoft.iotfirmwaredefense/firmwaregroups/read",
11+
"display": {
12+
"provider": "Microsoft.IoTFirmwareDefense",
13+
"resource": "firmwareGroups",
14+
"operation": "read",
15+
"description": "Read operation of firmwareGroups"
16+
}
17+
}
18+
]
19+
}
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)