Skip to content

Commit c1370e4

Browse files
author
Liran Chen
committed
Remove deviceId
1 parent 3c6afd9 commit c1370e4

File tree

4 files changed

+5
-20
lines changed

4 files changed

+5
-20
lines changed

specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Get.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
"name": "mySensor",
1111
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
1212
"type": "Microsoft.Security/iotSensors",
13-
"properties": {
14-
"iotHubDeviceId": "mySensorDevice"
15-
}
13+
"properties": {}
1614
}
1715
}
1816
}

specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/List.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
"name": "mySensor",
1212
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
1313
"type": "Microsoft.Security/iotSensors",
14-
"properties": {
15-
"iotHubDeviceId": "mySensorDevice"
16-
}
14+
"properties": {}
1715
},
1816
{
1917
"name": "otherSensor",

specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Put.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,15 @@
1010
"name": "mySensor",
1111
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
1212
"type": "Microsoft.Security/iotSensors",
13-
"properties": {
14-
"iotHubDeviceId": "mySensorDevice"
15-
}
13+
"properties": {}
1614
}
1715
},
1816
"201": {
1917
"body": {
2018
"name": "mySensor",
2119
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub/providers/Microsoft.Security/iotSensors/mySensor",
2220
"type": "Microsoft.Security/iotSensors",
23-
"properties": {
24-
"iotHubDeviceId": "mySensorDevice"
25-
}
21+
"properties": {}
2622
}
2723
}
2824
}

specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotSensors.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,7 @@
260260
"IotSensorProperties": {
261261
"type": "object",
262262
"description": "IoT sensor properties",
263-
"properties": {
264-
"iotHubDeviceId": {
265-
"description": "Device id that represents the sensor in the associated IoT Hub",
266-
"readOnly": true,
267-
"type": "string",
268-
"example": "mySensorDevice"
269-
}
270-
}
263+
"properties": {}
271264
}
272265
},
273266
"parameters": {

0 commit comments

Comments
 (0)