From 8091eb69d685da95a4d20eeb9b565875e539951b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 12 Mar 2021 02:00:54 +0000 Subject: [PATCH] CodeGen from PR 13344 in Azure/azure-rest-api-specs Merge 36c9f844d63a0107b6cafb4d25745d0247a6ec26 into 73ff8029677182e2fb55ff75d5828201536056aa --- schemas/2015-06-01-preview/Microsoft.Security.json | 2 +- schemas/2017-08-01-preview/Microsoft.Security.json | 2 +- schemas/2018-06-01/Microsoft.Security.json | 2 +- schemas/2019-01-01-preview/Microsoft.Security.json | 2 +- schemas/2019-01-01/Microsoft.Security.json | 2 +- schemas/2019-08-01/Microsoft.Security.json | 2 +- schemas/2020-01-01-preview/Microsoft.Security.json | 2 +- schemas/2020-01-01/Microsoft.Security.json | 2 +- schemas/2020-07-01-preview/Microsoft.Security.json | 2 +- schemas/2020-08-06-preview/Microsoft.Security.json | 12 ++++++++---- 10 files changed, 17 insertions(+), 13 deletions(-) diff --git a/schemas/2015-06-01-preview/Microsoft.Security.json b/schemas/2015-06-01-preview/Microsoft.Security.json index adc017f32a..c33a60dcba 100644 --- a/schemas/2015-06-01-preview/Microsoft.Security.json +++ b/schemas/2015-06-01-preview/Microsoft.Security.json @@ -703,4 +703,4 @@ "description": "Represents a machine that is part of a VM/server group" } } -} \ No newline at end of file +} diff --git a/schemas/2017-08-01-preview/Microsoft.Security.json b/schemas/2017-08-01-preview/Microsoft.Security.json index 365e17bd67..fd4de89029 100644 --- a/schemas/2017-08-01-preview/Microsoft.Security.json +++ b/schemas/2017-08-01-preview/Microsoft.Security.json @@ -1557,4 +1557,4 @@ "description": "Workspace setting data" } } -} \ No newline at end of file +} diff --git a/schemas/2018-06-01/Microsoft.Security.json b/schemas/2018-06-01/Microsoft.Security.json index 614eded030..09ed3e2ec3 100644 --- a/schemas/2018-06-01/Microsoft.Security.json +++ b/schemas/2018-06-01/Microsoft.Security.json @@ -71,4 +71,4 @@ "description": "Pricing properties for the relevant scope" } } -} \ No newline at end of file +} diff --git a/schemas/2019-01-01-preview/Microsoft.Security.json b/schemas/2019-01-01-preview/Microsoft.Security.json index efb9868cc1..f48064a4f5 100644 --- a/schemas/2019-01-01-preview/Microsoft.Security.json +++ b/schemas/2019-01-01-preview/Microsoft.Security.json @@ -899,4 +899,4 @@ ] } } -} \ No newline at end of file +} diff --git a/schemas/2019-01-01/Microsoft.Security.json b/schemas/2019-01-01/Microsoft.Security.json index 2b7498a9e3..354a3291ab 100644 --- a/schemas/2019-01-01/Microsoft.Security.json +++ b/schemas/2019-01-01/Microsoft.Security.json @@ -155,4 +155,4 @@ "description": "Represents a data export setting" } } -} \ No newline at end of file +} diff --git a/schemas/2019-08-01/Microsoft.Security.json b/schemas/2019-08-01/Microsoft.Security.json index 43f54f4196..f402a437c3 100644 --- a/schemas/2019-08-01/Microsoft.Security.json +++ b/schemas/2019-08-01/Microsoft.Security.json @@ -931,4 +931,4 @@ "description": "Properties of the IoT Security solution's user defined resources." } } -} \ No newline at end of file +} diff --git a/schemas/2020-01-01-preview/Microsoft.Security.json b/schemas/2020-01-01-preview/Microsoft.Security.json index 5319229d9c..212ab76a7c 100644 --- a/schemas/2020-01-01-preview/Microsoft.Security.json +++ b/schemas/2020-01-01-preview/Microsoft.Security.json @@ -293,4 +293,4 @@ "description": "Details of the service principal." } } -} \ No newline at end of file +} diff --git a/schemas/2020-01-01/Microsoft.Security.json b/schemas/2020-01-01/Microsoft.Security.json index 116df6202b..6e08cf7f32 100644 --- a/schemas/2020-01-01/Microsoft.Security.json +++ b/schemas/2020-01-01/Microsoft.Security.json @@ -1236,4 +1236,4 @@ "description": "Represents a machine that is part of a machine group" } } -} \ No newline at end of file +} diff --git a/schemas/2020-07-01-preview/Microsoft.Security.json b/schemas/2020-07-01-preview/Microsoft.Security.json index 00a249c515..1f6adb1dd3 100644 --- a/schemas/2020-07-01-preview/Microsoft.Security.json +++ b/schemas/2020-07-01-preview/Microsoft.Security.json @@ -62,4 +62,4 @@ } }, "definitions": {} -} \ No newline at end of file +} diff --git a/schemas/2020-08-06-preview/Microsoft.Security.json b/schemas/2020-08-06-preview/Microsoft.Security.json index 888b3c24f1..49463ac95b 100644 --- a/schemas/2020-08-06-preview/Microsoft.Security.json +++ b/schemas/2020-08-06-preview/Microsoft.Security.json @@ -196,16 +196,20 @@ "IotSensorProperties": { "type": "object", "properties": { - "isEnterpriseSensor": { + "sensorType": { "oneOf": [ { - "type": "boolean" + "type": "string", + "enum": [ + "Ot", + "Enterprise" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Is type of sensor is enterprise IoT sensor" + "description": "Type of sensor." }, "tiAutomaticUpdates": { "oneOf": [ @@ -254,4 +258,4 @@ "description": "IoT site properties" } } -} \ No newline at end of file +}