From 352e1ea5af721717751aeb7232d7583690130d57 Mon Sep 17 00:00:00 2001 From: ShaniFelig <74960756+ShaniFelig@users.noreply.github.com> Date: Thu, 23 Dec 2021 12:07:02 +0200 Subject: [PATCH] Revert "Add IoT data connector (#17086)" This reverts commit a11dd79ea1fb12c9b9d673fed2de91cc0098adbf. --- .../2021-10-01-preview/dataConnectors.json | 71 +------------------ .../dataConnectors/CheckRequirementsIoT.json | 22 ------ .../examples/dataConnectors/GetIoTById.json | 28 -------- 3 files changed, 1 insertion(+), 120 deletions(-) delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsIoT.json delete mode 100644 specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/GetIoTById.json diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/dataConnectors.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/dataConnectors.json index 446796cde6c9..70acb89c3cbe 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/dataConnectors.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/dataConnectors.json @@ -132,9 +132,6 @@ }, "Get a APIPolling data connector": { "$ref": "./examples/dataConnectors/GetAPIPolling.json" - }, - "Get a IoT data connector": { - "$ref": "./examples/dataConnectors/GetIoTById.json" } }, "tags": [ @@ -419,9 +416,6 @@ }, "Check requirements for MicrosoftThreatIntelligence.": { "$ref": "./examples/dataConnectors/CheckRequirementsMicrosoftThreatIntelligence.json" - }, - "Check requirements for IoT.": { - "$ref": "./examples/dataConnectors/CheckRequirementsIoT.json" } }, "tags": [ @@ -871,33 +865,6 @@ "description": "Threat Intelligence TAXII data connector required properties.", "type": "object" }, - "IoTCheckRequirements": { - "allOf": [ - { - "$ref": "#/definitions/DataConnectorsCheckRequirements" - } - ], - "description": "Represents IoT requirements check request.", - "properties": { - "properties": { - "$ref": "#/definitions/IoTCheckRequirementsProperties", - "description": "IoT requirements check properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "x-ms-discriminator-value": "IOT" - }, - "IoTCheckRequirementsProperties": { - "description": "IoT requirements check properties.", - "properties": { - "subscriptionId": { - "description": "The subscription id to connect to, and get the data from.", - "type": "string" - } - }, - "type": "object" - }, "AADDataConnector": { "allOf": [ { @@ -1255,38 +1222,6 @@ "dataTypes" ] }, - "IoTDataConnector": { - "allOf": [ - { - "$ref": "#/definitions/DataConnector" - } - ], - "description": "Represents IoT data connector.", - "properties": { - "properties": { - "$ref": "#/definitions/IoTDataConnectorProperties", - "description": "IoT data connector properties.", - "x-ms-client-flatten": true - } - }, - "type": "object", - "x-ms-discriminator-value": "IOT" - }, - "IoTDataConnectorProperties": { - "allOf": [ - { - "$ref": "#/definitions/DataConnectorWithAlertsProperties" - } - ], - "description": "IoT data connector properties.", - "properties": { - "subscriptionId": { - "description": "The subscription id to connect to, and get the data from.", - "type": "string" - } - }, - "type": "object" - }, "DataConnector": { "description": "Data connector", "allOf": [ @@ -1357,8 +1292,7 @@ "MicrosoftThreatProtection", "MicrosoftThreatIntelligence", "GenericUI", - "APIPolling", - "IOT" + "APIPolling" ], "type": "string", "x-ms-enum": { @@ -1415,9 +1349,6 @@ }, { "value": "APIPolling" - }, - { - "value": "IOT" } ] } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsIoT.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsIoT.json deleted file mode 100644 index 07dd4dbd7f09..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsIoT.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "api-version": "2021-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "DataConnectorsCheckRequirements": { - "kind": "IOT", - "properties": { - "subscriptionId": "c0688291-89d7-4bed-87a2-a7b1bff43f4c" - } - } - }, - "responses": { - "200": { - "body": { - "authorizationState": "Valid", - "licenseState": "Valid" - } - } - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/GetIoTById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/GetIoTById.json deleted file mode 100644 index 81195a9597f3..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/GetIoTById.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2021-10-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "dataConnectorId": "d2e5dc7a-f3a2-429d-954b-939fa8c2932e" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/d2e5dc7a-f3a2-429d-954b-939fa8c2932e", - "name": "d2e5dc7a-f3a2-429d-954b-939fa8c2932e", - "type": "Microsoft.SecurityInsights/dataConnectors", - "kind": "IOT", - "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", - "properties": { - "subscriptionId": "c0688291-89d7-4bed-87a2-a7b1bff43f4c", - "dataTypes": { - "alerts": { - "state": "Enabled" - } - } - } - } - } - } -}