forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <orkayam@microsoft.com>
- Loading branch information
Showing
28 changed files
with
2,274 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...urce-manager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Locations/Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"iotDefenderLocation": "eastus" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "eastus", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.IoTSecurity/locations/eastus", | ||
"type": "Microsoft.IoTSecurity/locations", | ||
"properties": {}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...rce-manager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Locations/List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "eastus", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.IoTSecurity/locations/eastus", | ||
"type": "Microsoft.IoTSecurity/locations", | ||
"properties": {}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...rce-manager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"iotDefenderLocation": "eastus", | ||
"siteName": "site", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/DownloadActivation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"iotDefenderLocation": "eastus", | ||
"siteName": "site", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"content-type": "application/zip" | ||
}, | ||
"body": "{Binary}" | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...rosoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/DownloadResetPassword.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"iotDefenderLocation": "eastus", | ||
"siteName": "site", | ||
"sensorName": "mySensor", | ||
"body": { | ||
"applianceId": "3214-528AV23-D121-D3-E1" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"content-type": "application/zip" | ||
}, | ||
"body": "{Binary}" | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...source-manager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"iotDefenderLocation": "eastus", | ||
"siteName": "site", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "mySensor", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.IoTSecurity/locations/eastus/sites/site/sensors/mySensor", | ||
"type": "Microsoft.IoTSecurity/locations/sites/sensors", | ||
"properties": { | ||
"connectivityTime": "2020-11-17T12:31:25Z", | ||
"dynamicLearning": true, | ||
"learningMode": true, | ||
"sensorStatus": "Ok", | ||
"sensorVersion": "2020.11.01.1643", | ||
"tiAutomaticUpdates": true, | ||
"tiStatus": "Ok", | ||
"tiVersion": "2020-11-17T12:31:25Z", | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/DownloadActivation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"content-type": "application/zip" | ||
}, | ||
"body": "{Binary}" | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...IoTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/DownloadResetPassword.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor", | ||
"body": { | ||
"applianceId": "3214-528AV23-D121-D3-E1" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"content-type": "application/zip" | ||
}, | ||
"body": "{Binary}" | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...manager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "mySensor", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sensors/mySensor", | ||
"type": "Microsoft.IoTSecurity/sensors", | ||
"properties": { | ||
"connectivityTime": "2020-11-17T12:31:25Z", | ||
"dynamicLearning": true, | ||
"learningMode": true, | ||
"sensorStatus": "Ok", | ||
"sensorVersion": "2020.11.01.1643", | ||
"tiAutomaticUpdates": true, | ||
"tiStatus": "Ok", | ||
"tiVersion": "2020-11-17T12:31:25Z", | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...anager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "mySensor", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sensors/mySensor", | ||
"type": "Microsoft.IoTSecurity/sensors", | ||
"properties": { | ||
"connectivityTime": "2020-11-17T12:31:25Z", | ||
"dynamicLearning": true, | ||
"learningMode": true, | ||
"sensorStatus": "Ok", | ||
"sensorVersion": "2020.11.01.1643", | ||
"tiAutomaticUpdates": true, | ||
"tiStatus": "Ok", | ||
"tiVersion": "2020-11-17T12:31:25Z", | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
}, | ||
{ | ||
"name": "otherSensor", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sensors/otherSensor", | ||
"type": "Microsoft.IoTSecurity/sensors", | ||
"properties": { | ||
"connectivityTime": "2020-11-17T12:31:25Z", | ||
"dynamicLearning": false, | ||
"learningMode": false, | ||
"sensorStatus": "Disconnected", | ||
"sensorVersion": "2020.11.01.1643", | ||
"tiAutomaticUpdates": true, | ||
"tiStatus": "Ok", | ||
"tiVersion": "2020-11-17T12:31:25Z", | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...manager/Microsoft.IoTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/Put.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor", | ||
"sensorModel": { | ||
"properties": { | ||
"tiAutomaticUpdates": true, | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "mySensor", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sensors/mySensor", | ||
"type": "Microsoft.IoTSecurity/sensors", | ||
"properties": { | ||
"connectivityTime": "2020-11-17T12:31:25Z", | ||
"dynamicLearning": true, | ||
"learningMode": true, | ||
"sensorStatus": "Ok", | ||
"sensorVersion": "2020.11.01.1643", | ||
"tiAutomaticUpdates": true, | ||
"tiStatus": "Ok", | ||
"tiVersion": "2020-11-17T12:31:25Z", | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "mySensor", | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sensors/mySensor", | ||
"type": "Microsoft.IoTSecurity/sensors", | ||
"properties": { | ||
"connectivityTime": "2020-11-17T12:31:25Z", | ||
"dynamicLearning": true, | ||
"learningMode": true, | ||
"sensorStatus": "Ok", | ||
"sensorVersion": "2020.11.01.1643", | ||
"tiAutomaticUpdates": true, | ||
"tiStatus": "Ok", | ||
"tiVersion": "2020-11-17T12:31:25Z", | ||
"zone": "Zone Name", | ||
"sensorType": "Ot" | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...oTSecurity/preview/2021-09-01-preview/examples/Sensors/IoTHub/TriggerTiPackageUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
Oops, something went wrong.