-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add Iot data connector * fix kind in getIotById * add deleted files * add missing newlines * fix newlines
- Loading branch information
1 parent
6d68fa0
commit a11dd79
Showing
3 changed files
with
120 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...rityInsights/preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsIoT.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...osoft.SecurityInsights/preview/2021-10-01-preview/examples/dataConnectors/GetIoTById.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |