You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
# Azure IoT Time Series Insights client library for .NET
1
+
# Azure Time Series Insights client library for .NET
2
2
3
-
This library provides access to the Azure Time Series Insights service.
3
+
Azure Time Series Insights provides data exploration and telemetry tools to help you improve operational analysis. It's a fully managed analytics, storage, and visualization service where you can explore and analyze billions of Internet of Things (IoT) events simultaneously.
Azure Time Series Insights gives you a global view of your data, so you can quickly validate your IoT solution and avoid costly downtime to mission-critical devices. It can help you discover hidden trends, spot anomalies, and conduct root-cause analysis in near real time.
6
+
7
+
If you are new to Azure Time Series Insights and would like to learn more about the platform, please make sure you check out the Azure Time Series Insights official [documentation page][tsi_product_documentation].
6
8
7
9
## Getting started
8
10
@@ -25,13 +27,14 @@ In order to interact with the Azure Time Series Insights service, you will need
25
27
26
28
## Key concepts
27
29
28
-
The main concepts of Time Series Insights client include:
30
+
The Time Series Insights client library for .NET provides the following functionality:
31
+
- Retrieving and being able to make changes to the Time Series Insights environment model settings, such as changing the model name or default type ID.
32
+
- Retrieving and being able to add, update and remove Time Series instances.
33
+
- Retrieving and being able to make changes to the Time Series Insights environment types, such as creating, updating and deleting Time Series types.
34
+
- Retrieving and being able to make changes to the Time Series Insights hierarchies, such as creating, updating and deleting Time Series hierarchies.
35
+
- Querying raw events, computed series and aggregate series.
29
36
30
-
- Instances client: To perform operations such as creating, listing, replacing and deleting Time Series instances.
31
-
- Types client: To perform operations such as creating, listing, replacing and deleting Time Series types.
32
-
- Hierarchies client: To perform operations such as creating, listing, replacing and deleting Time Series hierarchies.
33
-
- Model Settings client: To perform operations such as getting and updating Time Series Model configuration settings.
34
-
- Query client: To query for events, series and aggregate series on Time Series Insights.
We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that reusing client instances is always safe, even across threads.
@@ -49,7 +52,7 @@ We guarantee that all client instance methods are thread-safe and independent of
49
52
50
53
## Examples
51
54
52
-
You can familiarize yourself with different APIs using [samples for Time Series Insights](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/samples).
55
+
You can familiarize yourself with different APIs using [samples for Time Series Insights][tsi_samples].
53
56
54
57
## Source code folder structure
55
58
@@ -146,3 +149,6 @@ For more information see the Code of Conduct FAQ or contact opencode@microsoft.c
Copy file name to clipboardExpand all lines: sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/samples/Readme.md
+1-25Lines changed: 1 addition & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,5 @@
1
1
# Introduction
2
2
3
-
Azure Time Series Insights provides data exploration and telemetry tools to help you improve operational analysis. It's a fully managed analytics, storage, and visualization service where you can explore and analyze billions of Internet of Things (IoT) events simultaneously.
4
-
5
-
Azure Time Series Insights gives you a global view of your data, so you can quickly validate your IoT solution and avoid costly downtime to mission-critical devices. It can help you discover hidden trends, spot anomalies, and conduct root-cause analysis in near real time.
6
-
7
-
If you are new to Azure Time Series Insights and would like to learn more about the platform, please make sure you check out the Azure Time Series Insights official [documentation page][tsi_product_documentation].
8
-
9
-
# Time Series Insights client library for .NET
10
-
The Time Series Insights client library for .NET provides the following functionality:
11
-
- Retrieving and being able to make changes to the Time Series Insights environment model settings, such as changing the model name or default type ID.
12
-
- Retrieving and being able to add, update and remove Time Series instances.
13
-
- Retrieving and being able to make changes to the Time Series Insights environment types, such as creating, updating and deleting Time Series types.
14
-
- Retrieving and being able to make changes to the Time Series Insights hierarchies, such as creating, updating and deleting Time Series hierarchies.
15
-
- Querying raw events, computed series and aggregate series
A `TimeSeriesInsightsClient` is the primary interface for developers using the Time Series Insights client library. It provides both synchronous and asynchronous operations to perform operations on a Time Series Insights environment. The `TimeSeriesInsightsClient` exposes several properties that a developer will use to perform specific operations on a Time Series Insights environment. For example, `ModelSettings` is the property that a developer can use to perform operations on the model settings of the TSI environment. `Instances` can be used to perform operations on TSI instances. Other properties include `Types`, `Hierarchies` and `Query`.
24
4
25
5
## Creating TimeSeriesInsightsClient
@@ -62,7 +42,7 @@ A single Time Series ID value is composed of up to 3 string values that uniquely
> **Please note that this sample is set up to work best when the Time Series Insights ID key that is configured with your environment is not one of the default telemetry system properties, such as iothub-connection-device-id. The reason being is that this sample will generate random unique strings for each TSI ID key that you have set up for your TSI environment, and use these randomly generated strings when sending telemetry to IoT Hub. But since the iothub-connection-device-id is already a random identifier for a device, setting up your TSI environment with ID key as iothub-connection-device-id will not make the sample run as expected. For this sample to mimic a more realistic TSI environment, use Building, Floor and Room as properties for your Time Series Insights IDs.**
45
+
> **Please note that this sample is set up to work best when the Time Series Insights ID key that is configured with your environment is not one of the default telemetry system properties, such as iothub-connection-device-id. The reason being is that this sample will generate random unique strings for each TSI ID key that you have set up for your TSI environment, and use these randomly generated strings when sending telemetry to IoT Hub. But since the iothub-connection-device-id is already a random identifier for a device, setting up your TSI environment with ID key as iothub-connection-device-id will not make the sample run as expected since TSI will create an instance per device. For this sample to mimic a more realistic TSI environment, use Building, Floor and Room as properties for your Time Series Insights IDs.**
66
46
67
47
## Time Series Insights Model Settings
68
48
@@ -706,10 +686,6 @@ await foreach (TimeSeriesPoint point in query.GetResultsAsync())
Copy file name to clipboardExpand all lines: sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/samples/TimeSeriesInsightsClientSample/QuerySamples.cs
0 commit comments