-
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.
Data connectors 2021 10 01 preview office connectors added (#17193)
* Project and PowerBI specs added. * Space removed * File with a wrong name removed * More changer added * Example files with inconsistent naming removed * dataConnectors json updated * Ref fixed * Prettier applied Co-authored-by: Ido Klotz <[email protected]>
- Loading branch information
Showing
10 changed files
with
452 additions
and
2 deletions.
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
...preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsOffice365Project.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": "Office365Project", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"authorizationState": "Valid", | ||
"licenseState": "Valid" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ts/preview/2021-10-01-preview/examples/dataConnectors/CheckRequirementsOfficePowerBI.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": "OfficePowerBI", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"authorizationState": "Valid", | ||
"licenseState": "Valid" | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...review/2021-10-01-preview/examples/dataConnectors/CreateOffice365ProjectDataConnetor.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,57 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-10-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"dataConnectorId": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"dataConnector": { | ||
"kind": "Office365Project", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"logs": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"type": "Microsoft.SecurityInsights/dataConnectors", | ||
"kind": "Office365Project", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"logs": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/dataConnectors/73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"name": "73e01a99-5cd7-4139-a149-9f2736ff2ab5", | ||
"type": "Microsoft.SecurityInsights/dataConnectors", | ||
"kind": "Office365Project", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"properties": { | ||
"tenantId": "2070ecc9-b4d5-4ae4-adaa-936fa1954fa8", | ||
"dataTypes": { | ||
"logs": { | ||
"state": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.