Skip to content

Commit 7374f2a

Browse files
orkayamOrel Kayam
andauthored
Add Microsoft.IoTSecurity provider (#12644)
* Add Microsoft.IoTSecurity provider * Run prettier * Add MD * rename files * update MD * resolve the Avocado * Remove unused files * Add operations API * update operations.json * update markdown * remove dot * re-use types * remove comma * Remove duplicated common types * Use ProxyResource * Remove IoT prefix * Add example * undo changes * Run prettier * Use capital letter * run prettier Co-authored-by: Orel Kayam <orkayam@microsoft.com>
1 parent 5ffc332 commit 7374f2a

File tree

10 files changed

+1373
-0
lines changed

10 files changed

+1373
-0
lines changed

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

Lines changed: 566 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {},
8+
"204": {}
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {
9+
"content-type": "application/zip"
10+
},
11+
"body": "{Binary}"
12+
}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"name": "default",
10+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
11+
"type": "Microsoft.IoTSecurity/defenderSettings",
12+
"properties": {
13+
"deviceQuota": 2000,
14+
"sentinelWorkspaceResourceIds": [
15+
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
16+
]
17+
}
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"name": "default",
12+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
13+
"type": "Microsoft.IoTSecurity/defenderSettings",
14+
"properties": {
15+
"deviceQuota": 2000,
16+
"sentinelWorkspaceResourceIds": [
17+
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
18+
]
19+
}
20+
}
21+
]
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"sensor": {
10+
"full": {
11+
"iso": [
12+
{
13+
"version": "3.1",
14+
"link": "http://microsoft.com/downloadLocation",
15+
"versionKind": "Latest"
16+
},
17+
{
18+
"version": "2.8.11",
19+
"link": "http://microsoft.com/downloadLocation",
20+
"versionKind": "Previous"
21+
}
22+
],
23+
"ovf": {
24+
"enterprise": [
25+
{
26+
"version": "3.1",
27+
"link": "http://microsoft.com/downloadLocation",
28+
"versionKind": "Latest"
29+
},
30+
{
31+
"version": "2.8.11",
32+
"link": "http://microsoft.com/downloadLocation",
33+
"versionKind": "Previous"
34+
}
35+
],
36+
"medium": [
37+
{
38+
"version": "3.1",
39+
"link": "http://microsoft.com/downloadLocation",
40+
"versionKind": "Latest"
41+
},
42+
{
43+
"version": "2.8.11",
44+
"link": "http://microsoft.com/downloadLocation",
45+
"versionKind": "Previous"
46+
}
47+
],
48+
"line": [
49+
{
50+
"version": "3.1",
51+
"link": "http://microsoft.com/downloadLocation",
52+
"versionKind": "Latest"
53+
},
54+
{
55+
"version": "2.8.11",
56+
"link": "http://microsoft.com/downloadLocation",
57+
"versionKind": "Previous"
58+
}
59+
]
60+
}
61+
},
62+
"upgrade": [
63+
{
64+
"version": "2.8.2",
65+
"fromVersion": "2.8.0",
66+
"link": "http://microsoft.com/downloadLocation",
67+
"versionKind": "Latest"
68+
},
69+
{
70+
"version": "2.8.10",
71+
"fromVersion": "2.8.0",
72+
"link": "http://microsoft.com/downloadLocation",
73+
"versionKind": "Previous"
74+
}
75+
]
76+
},
77+
"centralManager": {
78+
"full": {
79+
"iso": [
80+
{
81+
"version": "3.1",
82+
"link": "http://microsoft.com/downloadLocation",
83+
"versionKind": "Latest"
84+
},
85+
{
86+
"version": "2.8.11",
87+
"link": "http://microsoft.com/downloadLocation",
88+
"versionKind": "Previous"
89+
}
90+
],
91+
"ovf": {
92+
"enterprise": [
93+
{
94+
"version": "3.1",
95+
"link": "http://microsoft.com/downloadLocation",
96+
"versionKind": "Latest"
97+
}
98+
],
99+
"enterpriseHighAvailability": [
100+
{
101+
"version": "3.1",
102+
"link": "http://microsoft.com/downloadLocation",
103+
"versionKind": "Latest"
104+
}
105+
],
106+
"medium": [
107+
{
108+
"version": "3.1",
109+
"link": "http://microsoft.com/downloadLocation",
110+
"versionKind": "Latest"
111+
}
112+
],
113+
"mediumHighAvailability": [
114+
{
115+
"version": "3.1",
116+
"link": "http://microsoft.com/downloadLocation",
117+
"versionKind": "Latest"
118+
}
119+
]
120+
}
121+
},
122+
"upgrade": [
123+
{
124+
"version": "2.8.2",
125+
"fromVersion": "2.8.0",
126+
"link": "http://microsoft.com/downloadLocation",
127+
"versionKind": "Latest"
128+
},
129+
{
130+
"version": "2.8.10",
131+
"fromVersion": "2.8.0",
132+
"link": "http://microsoft.com/downloadLocation",
133+
"versionKind": "Previous"
134+
}
135+
]
136+
},
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+
]
167+
}
168+
}
169+
}
170+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-02-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"DefenderSettingsModel": {
6+
"properties": {
7+
"deviceQuota": 2000,
8+
"sentinelWorkspaceResourceIds": [
9+
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
10+
]
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"name": "default",
18+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
19+
"type": "Microsoft.IoTSecurity/defenderSettings",
20+
"properties": {
21+
"deviceQuota": 2000,
22+
"sentinelWorkspaceResourceIds": [
23+
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
24+
]
25+
}
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"name": "default",
31+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
32+
"type": "Microsoft.IoTSecurity/defenderSettings",
33+
"properties": {
34+
"deviceQuota": 2000,
35+
"sentinelWorkspaceResourceIds": [
36+
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
37+
]
38+
}
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"api-version": "2021-02-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {
9+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
10+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
11+
"X-Content-Type-Options": "nosniff",
12+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
13+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
14+
},
15+
"body": {
16+
"value": [
17+
{
18+
"name": "Microsoft.IoTSecurity/unregister/action",
19+
"display": {
20+
"provider": "Microsoft IoT Security",
21+
"resource": "Subscription",
22+
"operation": "Unregister Subscription",
23+
"description": "Unregisters the subscription for Azure Defender for IoT"
24+
},
25+
"origin": "user,system"
26+
},
27+
{
28+
"name": "Microsoft.IoTSecurity/register/action",
29+
"display": {
30+
"provider": "Microsoft IoT Security",
31+
"resource": "Subscription",
32+
"operation": "Register Subscription",
33+
"description": "Registers the subscription for Azure Defender for IoT"
34+
},
35+
"origin": "user,system"
36+
},
37+
{
38+
"name": "Microsoft.IoTSecurity/defenderSettings/read",
39+
"display": {
40+
"provider": "Microsoft IoT Security",
41+
"resource": "IoT Defender Settings",
42+
"operation": "Get IoT Defender Settings",
43+
"description": "Gets IoT Defender Settings"
44+
},
45+
"origin": "user"
46+
},
47+
{
48+
"name": "Microsoft.IoTSecurity/defenderSettings/write",
49+
"display": {
50+
"provider": "Microsoft IoT Security",
51+
"resource": "IoT Defender Settings",
52+
"operation": "Create or update IoT Defender Settings",
53+
"description": "Creates or updates IoT Defender Settings"
54+
},
55+
"origin": "user"
56+
},
57+
{
58+
"name": "Microsoft.IoTSecurity/defenderSettings/delete",
59+
"display": {
60+
"provider": "Microsoft IoT Security",
61+
"resource": "IoT Defender Settings",
62+
"operation": "Delete IoT Defender Settings",
63+
"description": "Deletes IoT Defender Settings"
64+
},
65+
"origin": "user"
66+
},
67+
{
68+
"name": "Microsoft.IoTSecurity/defenderSettings/packageDownloads/action",
69+
"display": {
70+
"provider": "Microsoft IoT Security",
71+
"resource": "IoT Defender Settings",
72+
"operation": "Get downloadable IoT Defender packages information",
73+
"description": "Gets downloadable IoT Defender packages information"
74+
},
75+
"origin": "user"
76+
},
77+
{
78+
"name": "Microsoft.IoTSecurity/defenderSettings/downloadManagerActivation/action",
79+
"display": {
80+
"provider": "Microsoft IoT Security",
81+
"resource": "IoT Defender Settings",
82+
"operation": "Download manager activation file",
83+
"description": "Download manager activation file"
84+
},
85+
"origin": "user"
86+
}
87+
]
88+
}
89+
}
90+
}
91+
}

0 commit comments

Comments
 (0)