-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Orel Kayam
committed
Jun 28, 2021
1 parent
b313aa5
commit d963f3a
Showing
14 changed files
with
1,146 additions
and
1 deletion.
There are no files selected for viewing
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
11 changes: 11 additions & 0 deletions
11
...ity/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/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,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-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
...-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/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,15 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-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
...nager/Microsoft.IoTSecurity/preview/2021-07-01-preview/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,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-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
...curity/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-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
...urity/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sensors/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-02-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
...curity/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sensors/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-02-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
...ager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sensors/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-02-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"sensorName": "mySensor" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...urity/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sites/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,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...security/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sites/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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sites/default", | ||
"type": "Microsoft.IoTSecurity/sites", | ||
"name": "default", | ||
"properties": { | ||
"displayName": "IoT site name", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ecurity/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sites/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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/sites" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "default", | ||
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sites/default", | ||
"type": "Microsoft.IoTSecurity/sites", | ||
"properties": { | ||
"displayName": "IoT site name", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
...security/resource-manager/Microsoft.IoTSecurity/preview/2021-07-01-preview/Sites/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,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01-preview", | ||
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub", | ||
"siteModel": { | ||
"properties": { | ||
"displayName": "IoT site name", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "default", | ||
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sites/default", | ||
"type": "Microsoft.IoTSecurity/sites", | ||
"properties": { | ||
"displayName": "IoT site name", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "default", | ||
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.IoTSecurity/sites/default", | ||
"type": "Microsoft.IoTSecurity/sites", | ||
"properties": { | ||
"displayName": "IoT site name", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
}, | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2020-04-27T21:53:29.0928001Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-04-27T21:53:29.0928001Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.