Skip to content

Commit b024b68

Browse files
author
Basel Rustum
authored
Initial setup for bringing in Time Series Insights into the track2 repo (Azure#16781)
1 parent 8e83cb6 commit b024b68

File tree

183 files changed

+12063
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+12063
-0
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@
261261
# ServiceLabel: %Digital Twins %Service Attention
262262
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum @jamdavi
263263

264+
# PRLabel: %TimeSeriesInsights
265+
# ServiceLabel: %Time Series Insights %Service Attention
266+
/sdk/timeseriesinsights/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum @jamdavi @yeskarthik @rasidhan @dmdenmsft
267+
264268
# ServiceLabel: %Event Grid %Service Attention
265269
# PRLabel: %Event Grid
266270
/sdk/eventgrid/ @Kishp01 @ahamad-MS @jfggdl @JoshLove-msft

sdk/timeseriesinsights/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.config.json
2+
!*common.config.json
3+
!*common.test.assets.config.json
4+
*.etl
5+
params.*.json
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29709.97
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Iot.TimeSeriesInsights", "src\Azure.Iot.TimeSeriesInsights.csproj", "{E33D09D9-D809-472C-82E6-6A26BDB86FC2}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Iot.TimeSeriesInsights.Tests", "tests\Azure.Iot.TimeSeriesInsights.Tests.csproj", "{4F476D56-DDE7-43D3-8CB4-BA1E77F5A300}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{8052009B-2126-44A3-88CD-4F3B17894C64}"
11+
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E58C2830-EF72-433E-A60E-3D20DBED196D}"
13+
ProjectSection(SolutionItems) = preProject
14+
api\Azure.Iot.TimeSeriesInsights.netstandard2.0.cs = api\Azure.Iot.TimeSeriesInsights.netstandard2.0.cs
15+
..\ci.yml = ..\ci.yml
16+
..\Export-TsiApis.ps1 = ..\Export-TsiApis.ps1
17+
..\Print-MyEnvData.ps1 = ..\Print-MyEnvData.ps1
18+
..\test-resources.json = ..\test-resources.json
19+
..\tests.yml = ..\tests.yml
20+
..\Update-TsiSnippets.ps1 = ..\Update-TsiSnippets.ps1
21+
EndProjectSection
22+
EndProject
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeSeriesInsightsClientSample", "samples\TimeSeriesInsightsClientSample\TimeSeriesInsightsClientSample.csproj", "{D243481B-0944-4F60-9B1F-35EDFC7769BA}"
24+
EndProject
25+
Global
26+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
27+
Debug|Any CPU = Debug|Any CPU
28+
Release|Any CPU = Release|Any CPU
29+
EndGlobalSection
30+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
31+
{E33D09D9-D809-472C-82E6-6A26BDB86FC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{E33D09D9-D809-472C-82E6-6A26BDB86FC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{E33D09D9-D809-472C-82E6-6A26BDB86FC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{E33D09D9-D809-472C-82E6-6A26BDB86FC2}.Release|Any CPU.Build.0 = Release|Any CPU
35+
{4F476D56-DDE7-43D3-8CB4-BA1E77F5A300}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
36+
{4F476D56-DDE7-43D3-8CB4-BA1E77F5A300}.Debug|Any CPU.Build.0 = Debug|Any CPU
37+
{4F476D56-DDE7-43D3-8CB4-BA1E77F5A300}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{4F476D56-DDE7-43D3-8CB4-BA1E77F5A300}.Release|Any CPU.Build.0 = Release|Any CPU
39+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Debug|Any CPU.Build.0 = Debug|Any CPU
41+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Release|Any CPU.ActiveCfg = Release|Any CPU
42+
{8052009B-2126-44A3-88CD-4F3B17894C64}.Release|Any CPU.Build.0 = Release|Any CPU
43+
{D243481B-0944-4F60-9B1F-35EDFC7769BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{D243481B-0944-4F60-9B1F-35EDFC7769BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{D243481B-0944-4F60-9B1F-35EDFC7769BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
46+
{D243481B-0944-4F60-9B1F-35EDFC7769BA}.Release|Any CPU.Build.0 = Release|Any CPU
47+
EndGlobalSection
48+
GlobalSection(SolutionProperties) = preSolution
49+
HideSolutionNode = FALSE
50+
EndGlobalSection
51+
GlobalSection(ExtensibilityGlobals) = postSolution
52+
SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
53+
EndGlobalSection
54+
EndGlobal
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Release History
2+
## 1.0.0-beta-1 (Unreleased)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<!--
3+
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props
4+
-->
5+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
6+
</Project>
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# Azure IoT Time Series Insights client library for .NET
2+
3+
This library provides access to the Azure Time Series Insights service.
4+
5+
[Source code]<!--(https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/timeseriesinsights)-->
6+
7+
## Getting started
8+
9+
The complete Microsoft Azure SDK can be downloaded from the [Microsoft Azure downloads][microsoft_sdk_download] page, and it ships with support for building deployment packages, integrating with tooling, rich command line tooling, and more.
10+
11+
For the best development experience, developers should use the official Microsoft NuGet packages for libraries. NuGet packages are regularly updated with new functionality and hotfixes.
12+
13+
### Install the package
14+
15+
No package has been published for this client library yet.
16+
17+
### Prerequisites
18+
19+
- A Microsoft Azure Subscription
20+
- To call Microsoft Azure services, create an [Azure subscription][azure_sub].
21+
22+
### Authenticate the Client
23+
24+
In order to interact with the Azure Time Series Insights service, you will need to create an instance of a [TokenCredential class][token_credential] and pass it to the constructor of your [TimeSeriesInsightsClient]<!--(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/src/TimeSeriesInsightsClient.cs)-->.
25+
26+
## Key concepts
27+
28+
Coming soon.
29+
30+
## Examples
31+
32+
Coming soon.
33+
34+
## Source code folder structure
35+
36+
### /src
37+
38+
The Time Series Insights public client, `TimeSeriesInsightsClient`, and the additional configuration options, `TimeSeriesInsightsClientOptions`, that can be sent to the Time Series Insights service.
39+
40+
### /src/Generated
41+
42+
The code generated by autorest using the swagger file defined in the autorest config file.
43+
44+
To regenerate the code, run the powershell script [generate.ps1]<!--(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/src/generate.ps1)-->.
45+
46+
Any time the client library code is updated, the following scripts need to be run:
47+
48+
- [Export-AdtApis.ps1]<!--(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/timeseriesinsights/Export-AdtApis.ps1)-->, which will update the [API surface document]<!--(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/api/Azure.Iot.TimeSeriesInsights.netstandard2.0.cs)-->.
49+
- [Update-Snippets.ps1]<!--(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/timeseriesinsights/Update-TsiSnippets.ps1)-->, which will update all the code snippets in the readme files and in the client documentation comments.
50+
51+
### /src/Customized
52+
53+
The customzied code written to override the following behavior of auto-generated code:
54+
55+
- Declare some of the generated types as **internal**, instead of the autorest default of **public**.
56+
57+
### /src/Models
58+
59+
Model classes useful for use with the Time Series Insights client operations.
60+
61+
### /src/Properties
62+
63+
Assembly properties required for running unit tests.
64+
65+
## Troubleshooting
66+
67+
Coming soon.
68+
69+
## Next steps
70+
71+
See implementation examples with our [code samples]<!--(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/samples)-->.
72+
73+
## Contributing
74+
75+
This project welcomes contributions and suggestions.
76+
Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution.
77+
For details, visit <https://cla.microsoft.com.>
78+
79+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment).
80+
Simply follow the instructions provided by the bot.
81+
You will only need to do this once across all repos using our CLA.
82+
83+
This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct].
84+
For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
85+
86+
<!-- LINKS -->
87+
[microsoft_sdk_download]: https://azure.microsoft.com/downloads/?sdk=net
88+
[azure_sdk_target_frameworks]: https://github.com/azure/azure-sdk-for-net#target-frameworks
89+
[azure_cli]: https://docs.microsoft.com/cli/azure
90+
[azure_sub]: https://azure.microsoft.com/free/
91+
[package]: https://www.nuget.org/packages/Azure.Iot.TimeSeriesInsights
92+
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
93+
[nuget]: https://www.nuget.org/
94+
[azure_portal]: https://portal.azure.com/
95+
[azure_rest_api]: https://docs.microsoft.com/rest/api/azure/
96+
[azure_core_library]: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/core/Azure.Core
97+
[token_credential]: https://docs.microsoft.com/dotnet/api/azure.core.tokencredential?view=azure-dotnet
98+
[azure_cli]: https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest
99+
[iot_cli_extension]: https://github.com/Azure/azure-iot-cli-extension/releases
100+
[iot_cli_doc]: https://docs.microsoft.com/cli/azure/ext/azure-iot/dt?view=azure-cli-latest
101+
[http_status_code]: https://docs.microsoft.com/dotnet/api/system.net.httpstatuscode?view=netcore-3.1
102+
[tsi_nuget]: https://www.nuget.org/packages/Azure.Iot.TimeSeriesInsights

0 commit comments

Comments
 (0)