Skip to content

Commit fd30c1c

Browse files
lirancLiran Chen
andauthored
Dev security microsoft.security 2020 08 06 preview (#10418)
* Adds base for updating Microsoft.Security from version stable/2020-01-01 to version 2020-08-06-preview * Updates readme * Updates API version in new specs and examples * Clean API version * added iotDefender * Fix * Renam to iotDefenderSettings * Reverted empty line removal * Rename downloadActivation to downloadOnPremiseActivation * Removed incorrect package from readme * Fixed readme * split sensors from settings * Updated example * prettier * add deviceId in sensor * typo * PackageDownloads * Fix enum generation issue (align with stable) * Revert "Fix enum generation issue (align with stable)" This reverts commit e9f00f3. * Fix api verison in examples * Remove location from iotSensors. Transition to extension resource * Fix param name duplication * Update warning ignore path * Remove deviceId Co-authored-by: Liran Chen <[email protected]>
1 parent be0153a commit fd30c1c

File tree

13 files changed

+1055
-0
lines changed

13 files changed

+1055
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-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,16 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"name": "default",
10+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default",
11+
"type": "Microsoft.Security/iotDefenderSettings",
12+
"properties": {}
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-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.Security/iotDefenderSettings/default",
13+
"type": "Microsoft.Security/iotDefenderSettings",
14+
"properties": {}
15+
}
16+
]
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-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+
"link": "http://microsoft.com/downloadLocation",
66+
"versionKind": "Latest"
67+
},
68+
{
69+
"version": "2.8.10",
70+
"link": "http://microsoft.com/downloadLocation",
71+
"versionKind": "Previous"
72+
}
73+
]
74+
},
75+
"centralManager": {
76+
"full": {
77+
"iso": [
78+
{
79+
"version": "3.1",
80+
"link": "http://microsoft.com/downloadLocation",
81+
"versionKind": "Latest"
82+
},
83+
{
84+
"version": "2.8.11",
85+
"link": "http://microsoft.com/downloadLocation",
86+
"versionKind": "Previous"
87+
}
88+
],
89+
"ovf": {
90+
"enterprise": [
91+
{
92+
"version": "3.1",
93+
"link": "http://microsoft.com/downloadLocation",
94+
"versionKind": "Latest"
95+
}
96+
],
97+
"enterpriseHighAvailability": [
98+
{
99+
"version": "3.1",
100+
"link": "http://microsoft.com/downloadLocation",
101+
"versionKind": "Latest"
102+
}
103+
],
104+
"medium": [
105+
{
106+
"version": "3.1",
107+
"link": "http://microsoft.com/downloadLocation",
108+
"versionKind": "Latest"
109+
}
110+
],
111+
"mediumHighAvailability": [
112+
{
113+
"version": "3.1",
114+
"link": "http://microsoft.com/downloadLocation",
115+
"versionKind": "Latest"
116+
}
117+
]
118+
}
119+
},
120+
"upgrade": [
121+
{
122+
"version": "2.8.2",
123+
"link": "http://microsoft.com/downloadLocation",
124+
"versionKind": "Latest"
125+
},
126+
{
127+
"version": "2.8.10",
128+
"link": "http://microsoft.com/downloadLocation",
129+
"versionKind": "Previous"
130+
}
131+
]
132+
},
133+
"threatIntelligence": {
134+
"link": "http://microsoft.com/downloadLocation"
135+
}
136+
}
137+
}
138+
}
139+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"name": "default",
10+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default",
11+
"type": "Microsoft.Security/iotDefenderSettings",
12+
"properties": {}
13+
}
14+
},
15+
"201": {
16+
"body": {
17+
"name": "default",
18+
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default",
19+
"type": "Microsoft.Security/iotDefenderSettings",
20+
"properties": {}
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"iotSensorName": "mySensor"
6+
},
7+
"responses": {
8+
"200": {},
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"iotSensorName": "mySensor"
6+
},
7+
"responses": {
8+
"200": {}
9+
}
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"iotSensorName": "mySensor"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"name": "mySensor",
11+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
12+
"type": "Microsoft.Security/iotSensors",
13+
"properties": {}
14+
}
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"name": "mySensor",
12+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
13+
"type": "Microsoft.Security/iotSensors",
14+
"properties": {}
15+
},
16+
{
17+
"name": "otherSensor",
18+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/iotSensors/otherSensor",
19+
"type": "Microsoft.Security/iotSensors",
20+
"properties": {}
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2020-08-06-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"iotSensorName": "mySensor"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"name": "mySensor",
11+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
12+
"type": "Microsoft.Security/iotSensors",
13+
"properties": {}
14+
}
15+
},
16+
"201": {
17+
"body": {
18+
"name": "mySensor",
19+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
20+
"type": "Microsoft.Security/iotSensors",
21+
"properties": {}
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)