Skip to content

Commit 90f36e4

Browse files
authored
Merge pull request #152400 from v-lakast/tsi-improvements
Improved clarity, added h2's
2 parents ca57d1f + c8431d2 commit 90f36e4

9 files changed

+194
-115
lines changed

articles/digital-twins/how-to-ingest-iot-hub-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Whenever a temperature telemetry event is sent by the thermostat device, a funct
4646

4747
In this section, you'll set up a [digital twin](concepts-twins-graph.md) in Azure Digital Twins that will represent the thermostat device and will be updated with information from IoT Hub.
4848

49-
To create a thermostat-type twin, you'll first need to upload the thermostat [model](concepts-models.md) to your instance, which describes the properties of a thermostat and will be used later to create the twin.
49+
To create a thermostat-type twin, you'll first need to upload the thermostat [model](concepts-models.md) to your instance, which describes the properties of a thermostat and will be used later to create the twin.
5050

5151
[!INCLUDE [digital-twins-thermostat-model-upload.md](../../includes/digital-twins-thermostat-model-upload.md)]
5252

articles/digital-twins/how-to-integrate-time-series-insights.md

Lines changed: 188 additions & 101 deletions
Large diffs are not rendered by default.
20.9 KB
Loading
198 KB
Loading
163 KB
Loading
265 KB
Loading

includes/digital-twins-publish-and-configure-function-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ ms.author: baanders
1010
For instructions on how to do this, see the section [**Publish the function app to Azure**](../articles/digital-twins/how-to-create-azure-function.md#publish-the-function-app-to-azure) of the *How-to: Set up a function for processing data* article.
1111

1212
> [!IMPORTANT]
13-
> When creating the function app for the first time in the [Prerequisites](#prerequisites) section, you may have already assigned an access role for the function and configured the application settings for it to access your Azure Digital Twins instance. These need to be done once for the entire function app, so verify they've been completed in your app before continuing. You can find instructions in the [**Set up security access for the function app**](../articles/digital-twins/how-to-create-azure-function.md#set-up-security-access-for-the-function-app) of the *How to: Ingest IoT hub data article.*
13+
> When creating the function app for the first time in the [Prerequisites](#prerequisites) section, you may have already assigned an access role for the function and configured the application settings for it to access your Azure Digital Twins instance. These need to be done once for the entire function app, so verify they've been completed in your app before continuing. You can find instructions in the [**Set up security access for the function app**](../articles/digital-twins/how-to-create-azure-function.md#set-up-security-access-for-the-function-app) section of the *How to: Ingest IoT hub data article.*

includes/digital-twins-thermostat-model-upload.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,15 @@ author: baanders
33
description: include file to upload a model to Azure Digital Twins instance
44
ms.service: digital-twins
55
ms.topic: include
6-
ms.date: 3/23/2021
6+
ms.date: 4/1/2021
77
ms.author: baanders
88
---
99

1010
The model looks like this:
1111
:::code language="json" source="~/digital-twins-docs-samples/models/Thermostat.json":::
1212

13-
To **upload this model to your twins instance**, run the following Azure CLI command, which uploads the above model as inline JSON. You can run the command in [Azure Cloud Shell](../articles/cloud-shell/overview.md) in your browser, or on your machine if you have the CLI [installed locally](/cli/azure/install-azure-cli).
13+
To **upload this model to your twins instance**, run the following Azure CLI command, which uploads the above model as inline JSON. You can run the command in [Azure Cloud Shell](../articles/cloud-shell/overview.md) in your browser (use the **Bash** environment), or on your machine if you have the CLI [installed locally](/cli/azure/install-azure-cli).
1414

1515
```azurecli-interactive
1616
az dt model create --models '{ "@id": "dtmi:contosocom:DigitalTwins:Thermostat;1", "@type": "Interface", "@context": "dtmi:dtdl:context;2", "contents": [ { "@type": "Property", "name": "Temperature", "schema": "double" } ]}' -n {digital_twins_instance_name}
17-
```
18-
19-
> [!Note]
20-
> If you are using Cloud Shell in the PowerShell environment, you may need to escape the quotation mark characters on the inline JSON fields for their values to be parsed correctly. Here is the command to upload the model with this modification:
21-
>
22-
> Upload model:
23-
> ```azurecli-interactive
24-
> az dt model create --models '{ \"@id\": \"dtmi:contosocom:DigitalTwins:Thermostat;1\", \"@type\": \"Interface\", \"@context\": \"dtmi:dtdl:context;2\", \"contents\": [ { \"@type\": \"Property\", \"name\": \"Temperature\", \"schema\": \"double\" } ]}' -n {digital_twins_instance_name}
25-
> ```
17+
```

includes/digital-twins-ways-to-manage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ This article highlights how to complete different management operations using th
1212
> [!TIP]
1313
> Remember that all SDK methods come in synchronous and asynchronous versions. For paging calls, the async methods return `AsyncPageable<T>` while the synchronous versions return `Pageable<T>`.
1414
15-
Another management option is to call the the Azure Digital Twins [**REST APIs**](/rest/api/azure-digitaltwins/) for this topic area directly, through a REST client like Postman. For instructions on how to do this, see [*How-to: Make requests with Postman*](../articles/digital-twins/how-to-use-postman.md).
15+
Another management option is to call the Azure Digital Twins [**REST APIs**](/rest/api/azure-digitaltwins/) for this topic area directly, through a REST client like Postman. For instructions on how to do this, see [*How-to: Make requests with Postman*](../articles/digital-twins/how-to-use-postman.md).
1616

1717
Finally, you can complete the same management operations using the Azure Digital Twins **CLI**. To learn more about using the CLI, see [*How-to: Use the Azure Digital Twins CLI*](../articles/digital-twins/how-to-use-cli.md).

0 commit comments

Comments
 (0)