Skip to content

Commit a331a45

Browse files
orkayamOrel Kayam
andauthored
Microsoft.IoTSecurity: 2021-09-01-preview (Azure#15491)
* Initial Commit for Old Version * Add new API version * Update Operation Ids * Update tags * Update example names Co-authored-by: Orel Kayam <[email protected]>
1 parent 102f4f6 commit a331a45

File tree

28 files changed

+2274
-0
lines changed

28 files changed

+2274
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"iotDefenderLocation": "eastus"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"name": "eastus",
11+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.IoTSecurity/locations/eastus",
12+
"type": "Microsoft.IoTSecurity/locations",
13+
"properties": {},
14+
"systemData": {
15+
"createdBy": "string",
16+
"createdByType": "User",
17+
"createdAt": "2020-04-27T21:53:29.0928001Z",
18+
"lastModifiedBy": "string",
19+
"lastModifiedByType": "User",
20+
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
21+
}
22+
}
23+
}
24+
}
25+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"name": "eastus",
12+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.IoTSecurity/locations/eastus",
13+
"type": "Microsoft.IoTSecurity/locations",
14+
"properties": {},
15+
"systemData": {
16+
"createdBy": "string",
17+
"createdByType": "User",
18+
"createdAt": "2020-04-27T21:53:29.0928001Z",
19+
"lastModifiedBy": "string",
20+
"lastModifiedByType": "User",
21+
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"iotDefenderLocation": "eastus",
6+
"siteName": "site",
7+
"sensorName": "mySensor"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"iotDefenderLocation": "eastus",
6+
"siteName": "site",
7+
"sensorName": "mySensor"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {
12+
"content-type": "application/zip"
13+
},
14+
"body": "{Binary}"
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"iotDefenderLocation": "eastus",
6+
"siteName": "site",
7+
"sensorName": "mySensor",
8+
"body": {
9+
"applianceId": "3214-528AV23-D121-D3-E1"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"headers": {
15+
"content-type": "application/zip"
16+
},
17+
"body": "{Binary}"
18+
}
19+
}
20+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"iotDefenderLocation": "eastus",
6+
"siteName": "site",
7+
"sensorName": "mySensor"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "mySensor",
13+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.IoTSecurity/locations/eastus/sites/site/sensors/mySensor",
14+
"type": "Microsoft.IoTSecurity/locations/sites/sensors",
15+
"properties": {
16+
"connectivityTime": "2020-11-17T12:31:25Z",
17+
"dynamicLearning": true,
18+
"learningMode": true,
19+
"sensorStatus": "Ok",
20+
"sensorVersion": "2020.11.01.1643",
21+
"tiAutomaticUpdates": true,
22+
"tiStatus": "Ok",
23+
"tiVersion": "2020-11-17T12:31:25Z",
24+
"zone": "Zone Name",
25+
"sensorType": "Ot"
26+
},
27+
"systemData": {
28+
"createdBy": "string",
29+
"createdByType": "User",
30+
"createdAt": "2020-04-27T21:53:29.0928001Z",
31+
"lastModifiedBy": "string",
32+
"lastModifiedByType": "User",
33+
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
34+
}
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"sensorName": "mySensor"
6+
},
7+
"responses": {
8+
"200": {},
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"sensorName": "mySensor"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"content-type": "application/zip"
11+
},
12+
"body": "{Binary}"
13+
}
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"sensorName": "mySensor",
6+
"body": {
7+
"applianceId": "3214-528AV23-D121-D3-E1"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"content-type": "application/zip"
14+
},
15+
"body": "{Binary}"
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
5+
"sensorName": "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.IoTSecurity/sensors/mySensor",
12+
"type": "Microsoft.IoTSecurity/sensors",
13+
"properties": {
14+
"connectivityTime": "2020-11-17T12:31:25Z",
15+
"dynamicLearning": true,
16+
"learningMode": true,
17+
"sensorStatus": "Ok",
18+
"sensorVersion": "2020.11.01.1643",
19+
"tiAutomaticUpdates": true,
20+
"tiStatus": "Ok",
21+
"tiVersion": "2020-11-17T12:31:25Z",
22+
"zone": "Zone Name",
23+
"sensorType": "Ot"
24+
},
25+
"systemData": {
26+
"createdBy": "string",
27+
"createdByType": "User",
28+
"createdAt": "2020-04-27T21:53:29.0928001Z",
29+
"lastModifiedBy": "string",
30+
"lastModifiedByType": "User",
31+
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z"
32+
}
33+
}
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)