From d51735b3793cdf61659f2446e8fb0d5f7d4a0487 Mon Sep 17 00:00:00 2001 From: Gal Moshe Date: Wed, 17 Feb 2021 15:48:05 +0200 Subject: [PATCH 1/3] add isEnterpriseSensor --- .../2020-08-06-preview/examples/IotSensors/Get.json | 3 ++- .../2020-08-06-preview/examples/IotSensors/List.json | 6 ++++-- .../2020-08-06-preview/examples/IotSensors/Put.json | 10 +++++++--- .../preview/2020-08-06-preview/iotSensors.json | 6 +++++- 4 files changed, 18 insertions(+), 7 deletions(-) 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 88cf6c2b21e4..dfff87183b8c 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 @@ -20,7 +20,8 @@ "tiAutomaticUpdates": true, "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", - "zone": "Zone Name" + "zone": "Zone Name", + "isEnterpriseSensor": false } } } 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 42674fc40b43..6f2ad0560ff1 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 @@ -21,7 +21,8 @@ "tiAutomaticUpdates": true, "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", - "zone": "Zone Name" + "zone": "Zone Name", + "isEnterpriseSensor": false } }, { @@ -38,7 +39,8 @@ "tiAutomaticUpdates": true, "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", - "zone": "Zone Name" + "zone": "Zone Name", + "isEnterpriseSensor": false } } ] 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 5ff0cdab892e..60ced5343951 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 @@ -6,7 +6,8 @@ "iotSensorsModel": { "properties": { "tiAutomaticUpdates": true, - "zone": "Zone Name" + "zone": "Zone Name", + "isEnterpriseSensor": false } } }, @@ -26,7 +27,9 @@ "tiAutomaticUpdates": true, "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", - "zone": "Zone Name" + "zone": "Zone Name", + "isEnterpriseSensor": false + } } }, @@ -45,7 +48,8 @@ "tiAutomaticUpdates": true, "tiStatus": "Ok", "tiVersion": "2020-11-17T12:31:25Z", - "zone": "Zone Name" + "zone": "Zone Name", + "isEnterpriseSensor": false } } } 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 979c9da0f32a..91c80945c205 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 @@ -461,7 +461,11 @@ "type": "string", "description": "Zone of the IoT sensor", "example": "A12" - } + }, + "isEnterpriseSensor": { + "description": "Is type of sensor is enterprise IoT sensor", + "example": true, + "type": "boolean" } } }, "ResetPasswordInput": { From edf9281f9217befc0999cfef0be552c2879ffc69 Mon Sep 17 00:00:00 2001 From: Gal Moshe Date: Wed, 17 Feb 2021 19:38:07 +0200 Subject: [PATCH 2/3] fix indent --- .../preview/2020-08-06-preview/iotSensors.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 91c80945c205..69595105c450 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 @@ -465,7 +465,8 @@ "isEnterpriseSensor": { "description": "Is type of sensor is enterprise IoT sensor", "example": true, - "type": "boolean" } + "type": "boolean" + } } }, "ResetPasswordInput": { From fafa4d85a138b111bbf384e0a09cbb7c844e4612 Mon Sep 17 00:00:00 2001 From: Gal Moshe Date: Sun, 21 Feb 2021 10:00:53 +0200 Subject: [PATCH 3/3] prettier fixes --- .../preview/2020-08-06-preview/examples/IotSensors/Put.json | 1 - .../preview/2020-08-06-preview/iotSensors.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 60ced5343951..842c10ca90f7 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 @@ -29,7 +29,6 @@ "tiVersion": "2020-11-17T12:31:25Z", "zone": "Zone Name", "isEnterpriseSensor": false - } } }, 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 69595105c450..321568ae41e3 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 @@ -465,7 +465,7 @@ "isEnterpriseSensor": { "description": "Is type of sensor is enterprise IoT sensor", "example": true, - "type": "boolean" + "type": "boolean" } } },