diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Get.json b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Get.json index dfff87183b8c..80c66ce707a7 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Get.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Get.json @@ -21,7 +21,7 @@ "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", "zone": "Zone Name", - "isEnterpriseSensor": false + "sensorType": "Ot" } } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/List.json b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/List.json index 6f2ad0560ff1..a7050fb4c8a4 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/List.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/List.json @@ -22,7 +22,7 @@ "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", "zone": "Zone Name", - "isEnterpriseSensor": false + "sensorType": "Ot" } }, { @@ -40,7 +40,7 @@ "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", "zone": "Zone Name", - "isEnterpriseSensor": false + "sensorType": "Ot" } } ] diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Put.json b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Put.json index 842c10ca90f7..835beb4467c0 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Put.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/examples/IotSensors/Put.json @@ -7,7 +7,7 @@ "properties": { "tiAutomaticUpdates": true, "zone": "Zone Name", - "isEnterpriseSensor": false + "sensorType": "Ot" } } }, @@ -28,7 +28,7 @@ "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", "zone": "Zone Name", - "isEnterpriseSensor": false + "sensorType": "Ot" } } }, @@ -48,7 +48,7 @@ "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", "zone": "Zone Name", - "isEnterpriseSensor": false + "sensorType": "Ot" } } } diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotSensors.json b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotSensors.json index 321568ae41e3..84c5e3886d07 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotSensors.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2020-08-06-preview/iotSensors.json @@ -462,10 +462,26 @@ "description": "Zone of the IoT sensor", "example": "A12" }, - "isEnterpriseSensor": { - "description": "Is type of sensor is enterprise IoT sensor", - "example": true, - "type": "boolean" + "sensorType": { + "description": "Type of sensor", + "example": "Ot", + "type": "string", + "enum": [ + "Ot", + "Enterprise" + ], + "x-ms-enum": { + "name": "sensorType", + "modelAsString": true, + "values": [ + { + "value": "Ot" + }, + { + "value": "Enterprise" + } + ] + } } } },