Skip to content

Commit 374c7f7

Browse files
authored
Merge pull request #100807 from KingdomOfEnds/adt-refresh
ADT refresh
2 parents 6248ba1 + 8cb84d9 commit 374c7f7

14 files changed

+14
-15
lines changed

articles/digital-twins/how-to-configure-postman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Configure your Azure Active Directory app to use the OAuth 2.0 implicit grant fl
6161

6262
Check **Access tokens** to enable the **oauth2AllowImplicitFlow** setting in your Manifest.json.
6363

64-
[![Public client configuration setting](../../includes/media/digital-twins-permissions/aad-public-client.png)](../../includes/media/digital-twins-permissions/aad-public-client.png#lightbox)
64+
[![Public client configuration setting](../../includes/media/digital-twins-permissions/aad-configure-public-client.png)](../../includes/media/digital-twins-permissions/aad-configure-public-client.png#lightbox)
6565

6666
1. Copy and keep the **Application ID** of your Azure Active Directory app. It's used in the steps that follow.
6767

articles/digital-twins/quickstart-view-occupancy-dotnet.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services: digital-twins
99
ms.devlang: csharp
1010
ms.topic: quickstart
1111
ms.custom: mvc seodec18
12-
ms.date: 11/12/2019
12+
ms.date: 01/10/2020
1313
# As a developer new to Azure Digital Twins, I need to understand how to send motion and carbon dioxide telemetry to a space in Azure Digital Twins and how to find available rooms with fresh air by using a back-end application.
1414
---
1515

@@ -19,7 +19,7 @@ The Azure Digital Twins service allows you to re-create a digital image of your
1919

2020
This quickstart uses [a pair of .NET samples](https://github.com/Azure-Samples/digital-twins-samples-csharp) to digitize an imaginary office building. It shows you how to find available rooms in that building. With Digital Twins, you can associate many sensors with your environment. You also can find out if the air quality of your available room is optimal with the help of a simulated sensor for carbon dioxide. One of the sample applications generates random sensor data to help you visualize this scenario.
2121

22-
The following video summarizes quickstart setup:
22+
The following video summarizes the quickstart setup:
2323

2424
>[!VIDEO https://www.youtube.com/embed/1izK266tbMI]
2525
@@ -80,11 +80,11 @@ The spatial graph is provisioned by using the [provisionSample.yaml](https://git
8080
8181
1. The provisioning step might take a few minutes. It also provisions an IoT Hub within your Digital Twins instance. It loops through until the IoT Hub shows Status=`Running`.
8282

83-
[![Provision the sample - Status=Running](media/quickstart-view-occupancy-dotnet/digital-twins-provision-sample.png)](media/quickstart-view-occupancy-dotnet/digital-twins-provision-sample.png#lightbox)
83+
[![Provision the sample - Status=Running](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-provision-sample.png)](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-provision-sample.png#lightbox)
8484

8585
1. At the end of the execution, copy the `ConnectionString` of the device for use in the device simulator sample. Copy only the string outlined in this image.
8686

87-
[![Copy the connection string](media/quickstart-view-occupancy-dotnet/digital-twins-connection-string.png)](media/quickstart-view-occupancy-dotnet/digital-twins-connection-string.png#lightbox)
87+
[![Copy the connection string](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-connection-string.png)](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-connection-string.png#lightbox)
8888

8989
>[!TIP]
9090
> You can view and modify your spatial graph using the [Azure Digital Twins Graph Viewer](https://github.com/Azure/azure-digital-twins-graph-viewer).
@@ -101,7 +101,7 @@ Build and run the sensor simulator device application by following these steps.
101101
1. Edit [appsettings.json](https://github.com/Azure-Samples/digital-twins-samples-csharp/blob/master/device-connectivity/appsettings.json) to update **DeviceConnectionString** with the previous `ConnectionString`. Save the updated file.
102102
1. Run `dotnet run` to start sending sensor data. It will be sent to Azure Digital Twins as shown in the following image.
103103

104-
[![Device Connectivity](media/quickstart-view-occupancy-dotnet/digital-twins-device-connectivity.png)](media/quickstart-view-occupancy-dotnet/digital-twins-device-connectivity.png#lightbox)
104+
[![Device Connectivity](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-device-connectivity.png)](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-device-connectivity.png#lightbox)
105105

106106
1. Let this simulator run so that you can view results side by side with the next step action. This window shows you the simulated sensor data sent to Digital Twins. The next step queries in real time to find available rooms with fresh air.
107107

@@ -121,7 +121,7 @@ The sensor sample simulates random data values for two sensors. They're motion a
121121
- `Room is available and air is fresh`
122122
- `Room is not available or air quality is poor`
123123

124-
[![Get available spaces with fresh air](media/quickstart-view-occupancy-dotnet/digital-twins-get-available.png)](media/quickstart-view-occupancy-dotnet/digital-twins-get-available.png#lightbox)
124+
[![Get available spaces with fresh air](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-get-available.png)](media/quickstart-view-occupancy-dotnet/azure-digital-twins-quickstart-get-available.png#lightbox)
125125

126126
To understand what happened in this quickstart and what APIs were called, open [Visual Studio Code](https://code.visualstudio.com/Download) with the code workspace project found in `digital-twins-samples-csharp`. Use the following command:
127127

articles/digital-twins/tutorial-facilities-setup.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: bertvanhoof
88
ms.custom: seodec18
99
ms.service: digital-twins
1010
ms.topic: tutorial
11-
ms.date: 11/12/2019
11+
ms.date: 01/10/2020
1212
#Customer intent: As an Azure IoT developer, I want to walk through a sample application to learn how to use the features of Digital Twins to create a spatially aware intelligent IoT solution.
1313
---
1414

@@ -125,7 +125,6 @@ public static async Task<IEnumerable<ProvisionResults.Space>> ProvisionSample(Ht
125125
126126
return results;
127127
}
128-
129128
```
130129

131130
This function uses [provisionSample.yaml](https://github.com/Azure-Samples/digital-twins-samples-csharp/blob/master/occupancy-quickstart/src/actions/provisionSample.yaml) in the same folder. Open this file, and note the hierarchy of an office building: *Venue*, *Floor*, *Area*, and *Rooms*. Any of these physical spaces can contain *devices* and *sensors*. Each entry has a predefined `type`&mdash;for example, Floor, Room.
@@ -146,7 +145,7 @@ The **provisionSample.yaml** file contains the following nodes:
146145

147146
- **devices**: Spaces can contain `devices`, which are physical or virtual entities that manage a number of sensors. For example, a device might be a user’s phone, a Raspberry Pi sensor pod, or a gateway. In the imaginary building in your sample, note how the room named **Focus Room** contains a **Raspberry Pi 3 A1** device. Each device node is identified by a unique `hardwareId`, which is hardcoded in the sample. To configure this sample for an actual production, replace these with values from your setup.
148147

149-
- **sensors**: A device can contain multiple `sensors`. They can detect and record physical changes like temperature, motion, and battery level. Each sensor node is uniquely identified by a `hardwareId`, hardcoded here. For an actual application, replace these by using the unique identifiers of the sensors in your setup. The provisionSample.yaml file has two sensors to record *Motion* and *CarbonDioxide*. Add another sensor to record *Temperature*, by adding the following lines, below the lines for the CarbonDioxide sensor. Note that these are provided in provisionSample.yaml as commented-out lines. You can uncomment them by removing the `#` character in the front of each line.
148+
- **sensors**: A device can contain multiple `sensors`. They can detect and record physical changes like temperature, motion, and battery level. Each sensor node is uniquely identified by a `hardwareId`, hardcoded here. For an actual application, replace these by using the unique identifiers of the sensors in your setup. The provisionSample.yaml file has two sensors to record *Motion* and *CarbonDioxide*. Add another sensor to record *Temperature*, by adding the following lines, below the lines for the CarbonDioxide sensor. These are provided in provisionSample.yaml as commented-out lines. You can uncomment them by removing the `#` character in the front of each line.
150149

151150
```yaml
152151
- dataType: Temperature

includes/digital-twins-create-portal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515

1616
1. Select the home side-bar, then **+ Create a resource**.
1717

18-
[![Expand the home side-bar, then select + Create a resource](./media/create-digital-twins-portal/create-a-resource.png)](./media/create-digital-twins-portal/create-a-resource.png#lightbox)
18+
[![Expand the home side-bar, then select + Create a resource](./media/create-digital-twins-portal/azure-portal-create-a-resource.png)](./media/create-digital-twins-portal/azure-portal-create-a-resource.png#lightbox)
1919

2020
1. Search for **Digital Twins**, and select **Digital Twins**.
2121

22-
[![Selections for creating a new Digital Twins instance](./media/create-digital-twins-portal/create-digital-twins.png)](./media/create-digital-twins-portal/create-digital-twins.png#lightbox)
22+
[![Selections for creating a new Digital Twins instance](./media/create-digital-twins-portal/azure-portal-create-digital-twins.png)](./media/create-digital-twins-portal/azure-portal-create-digital-twins.png#lightbox)
2323

2424
Alternatively, select **Internet of Things**, and select **Digital Twins (preview)**.
2525

2626
1. Select **Create** to start the deployment process.
2727

28-
[![Create and confirm the deployment of the resource](./media/create-digital-twins-portal/create-and-confirm-resource.png)](./media/create-digital-twins-portal/create-and-confirm-resource.png#lightbox)
28+
[![Create and confirm the deployment of the resource](./media/create-digital-twins-portal/azure-create-and-confirm-resource.png)](./media/create-digital-twins-portal/azure-create-and-confirm-resource.png#lightbox)
2929

3030
1. In the **Digital Twins** pane, enter the following information:
3131
* **Resource Name**: Create a unique name for your Digital Twins instance.

includes/digital-twins-permissions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
1. In the [Azure portal](https://portal.azure.com), open **Azure Active Directory** from the expandable left menu, and then open the **App registrations** pane.
1818

19-
[![Select the Azure Active Directory pane](./media/digital-twins-permissions/select-aad-pane.png)](./media/digital-twins-permissions/select-aad-pane.png#lightbox)
19+
[![Select the Azure Active Directory pane](./media/digital-twins-permissions/azure-portal-select-aad-pane.png)](./media/digital-twins-permissions/azure-portal-select-aad-pane.png#lightbox)
2020

2121
1. Select the **+ New registration** button.
2222

@@ -30,7 +30,7 @@
3030

3131
Check **Access tokens** to enable the **oauth2AllowImplicitFlow** setting in your Manifest.json.
3232

33-
[![Public client configuration setting](./media/digital-twins-permissions/aad-public-client.png)](./media/digital-twins-permissions/aad-public-client.png#lightbox)
33+
[![Public client configuration setting](./media/digital-twins-permissions/aad-configure-public-client.png)](./media/digital-twins-permissions/aad-configure-public-client.png#lightbox)
3434

3535
1. Open the **Overview** pane of your registered app, and copy the values of the following entities to a temporary file. You'll use these values to configure your sample application in the following sections.
3636

0 commit comments

Comments
 (0)