Skip to content

Commit c6ca4b9

Browse files
authored
Merge pull request #89647 from KingdomOfEnds/dt-lightbox
adt lightbox
2 parents 5afeff9 + d4eb589 commit c6ca4b9

File tree

6 files changed

+37
-37
lines changed

6 files changed

+37
-37
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,24 @@ You can use the [Event Hubs](../event-hubs/event-hubs-about.md) service to creat
5353

5454
1. In the Event Hubs namespace deployment, select the **Overview** pane, then select **Go to resource**.
5555

56-
![Event Hubs namespace after deployment](./media/tutorial-facilities-analyze/open-event-hub-ns.png)
56+
[![Event Hubs namespace after deployment](./media/tutorial-facilities-analyze/open-event-hub-ns.png)](./media/tutorial-facilities-analyze/open-event-hub-ns.png#lightbox)
5757

5858
1. In the Event Hubs namespace **Overview** pane, select the **Event Hub** button at the top.
59-
![Event Hub button](./media/tutorial-facilities-analyze/create-event-hub.png)
59+
[![Event Hub button](./media/tutorial-facilities-analyze/create-event-hub.png)](./media/tutorial-facilities-analyze/create-event-hub.png#lightbox)
6060

6161
1. Enter a **Name** for your event hub, and select **Create**.
6262

6363
After the event hub is deployed, it appears in the **Event Hubs** pane of the Event Hubs namespace with an **Active** status. Select this event hub to open its **Overview** pane.
6464

6565
1. Select the **Consumer group** button at the top, and enter a name such as **tsievents** for the consumer group. Select **Create**.
6666

67-
![Event Hub consumer group](./media/tutorial-facilities-analyze/event-hub-consumer-group.png)
67+
[![Event Hub consumer group](./media/tutorial-facilities-analyze/event-hub-consumer-group.png)](./media/tutorial-facilities-analyze/event-hub-consumer-group.png#lightbox)
6868

6969
After the consumer group is created, it appears in the list at the bottom of the event hub's **Overview** pane.
7070

7171
1. Open the **Shared access policies** pane for your event hub, and select the **Add** button. Enter **ManageSend** as the policy name, make sure all the check boxes are selected, and select **Create**.
7272

73-
![Event Hub connection strings](./media/tutorial-facilities-analyze/event-hub-connection-strings.png)
73+
[![Event Hub connection strings](./media/tutorial-facilities-analyze/event-hub-connection-strings.png)](./media/tutorial-facilities-analyze/event-hub-connection-strings.png#lightbox)
7474

7575
1. Open the ManageSend policy that you created, and copy the values for **Connection string--primary key** and **Connection string--secondary key** to a temporary file. You'll need these values to create an endpoint for the event hub in the next section.
7676

@@ -123,7 +123,7 @@ You can use the [Event Hubs](../event-hubs/event-hubs-about.md) service to creat
123123

124124
It creates two endpoints for your event hub.
125125

126-
![Endpoints for Event Hubs](./media/tutorial-facilities-analyze/dotnet-create-endpoints.png)
126+
[![Endpoints for Event Hubs](./media/tutorial-facilities-analyze/dotnet-create-endpoints.png)](./media/tutorial-facilities-analyze/dotnet-create-endpoints.png#lightbox)
127127

128128
## Analyze with Time Series Insights
129129

@@ -133,11 +133,11 @@ You can use the [Event Hubs](../event-hubs/event-hubs-about.md) service to creat
133133

134134
1. Enter a **Name** for your Time Series Insights instance, and then select your **Subscription**. Select the **Resource group** that you used for your Digital Twins instance, and your **Location**. Select **Next: Event Source** button or the **Event Source** tab.
135135

136-
![Selections for creating a Time Series Insights instance](./media/tutorial-facilities-analyze/create-tsi.png)
136+
[![Selections for creating a Time Series Insights instance](./media/tutorial-facilities-analyze/create-tsi.png)](./media/tutorial-facilities-analyze/create-tsi.png#lightbox)
137137

138138
1. In the **Event Source** tab, enter a **Name**, select **Event Hub** as the **Source type**, and make sure the other values are selected correctly. Select **ManageSend** for **Event Hub access policy name**, and then select the consumer group that you created in the previous section for **Event Hub consumer group**. Select **Review + create**.
139139

140-
![Selections for creating an event source](./media/tutorial-facilities-analyze/tsi-event-source.png)
140+
[![Selections for creating an event source](./media/tutorial-facilities-analyze/tsi-event-source.png)](./media/tutorial-facilities-analyze/tsi-event-source.png#lightbox)
141141

142142
1. In the **Review + Create** pane, review the information you entered, and select **Create**.
143143

@@ -149,13 +149,13 @@ You can use the [Event Hubs](../event-hubs/event-hubs-about.md) service to creat
149149

150150
1. After a few simulated events are generated, go back to the Time Series Insights explorer, and select the refresh button at the top. You should see analytical charts being created for your simulated sensor data.
151151

152-
![Chart in the Time Series Insights explorer](./media/tutorial-facilities-analyze/tsi-explorer.png)
152+
[![Chart in the Time Series Insights explorer](./media/tutorial-facilities-analyze/tsi-explorer.png)](./media/tutorial-facilities-analyze/tsi-explorer.png#lightbox)
153153

154154
1. In the Time Series Insights explorer, you can then generate charts and heatmaps for different events and data from your rooms, sensors, and other resources. On the left side, use the **MEASURE** and **SPLIT BY** drop-down boxes to create your own visualizations.
155155

156156
For example, select **Events** for **MEASURE** and **DigitalTwins-SensorHardwareId** for **SPLIT BY**, to generate a heatmap for each of your sensors. The heatmap will be similar to the following image:
157157

158-
![Heatmap in the Time Series Insights explorer](./media/tutorial-facilities-analyze/tsi-explorer-heatmap.png)
158+
[![Heatmap in the Time Series Insights explorer](./media/tutorial-facilities-analyze/tsi-explorer-heatmap.png)](./media/tutorial-facilities-analyze/tsi-explorer-heatmap.png#lightbox)
159159

160160
## Clean up resources
161161

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ An [event grid topic](../event-grid/concepts.md#topics) provides an interface to
5454

5555
1. Enter a **Name** for your event grid topic, and choose the **Subscription**. Select the **Resource group** that you used or created for your Digital Twins instance, and the **Location**. Select **Create**.
5656

57-
![Create an event grid topic](./media/tutorial-facilities-events/create-event-grid-topic.png)
57+
[![Create an event grid topic](./media/tutorial-facilities-events/create-event-grid-topic.png)](./media/tutorial-facilities-events/create-event-grid-topic.png#lightbox)
5858

5959
1. Browse to the event grid topic from your resource group, select **Overview**, and copy the value for **Topic Endpoint** to a temporary file. You'll need this URL in the next section.
6060

6161
1. Select **Access keys**, and copy **YOUR_KEY_1** and **YOUR_KEY_2** to a temporary file. You'll need these values to create the endpoint in the next section.
6262

63-
![Event Grid keys](./media/tutorial-facilities-events/event-grid-keys.png)
63+
[![Event Grid keys](./media/tutorial-facilities-events/event-grid-keys.png)](./media/tutorial-facilities-events/event-grid-keys.png#lightbox)
6464

6565
### Create an endpoint for the event grid topic
6666

@@ -97,7 +97,7 @@ An [event grid topic](../event-grid/concepts.md#topics) provides an interface to
9797

9898
This command creates the endpoint for Event Grid.
9999

100-
![Endpoints for Event Grid](./media/tutorial-facilities-events/dotnet-create-endpoints.png)
100+
[![Endpoints for Event Grid](./media/tutorial-facilities-events/dotnet-create-endpoints.png)](./media/tutorial-facilities-events/dotnet-create-endpoints.png#lightbox)
101101

102102
## Notify events with Logic Apps
103103

@@ -109,7 +109,7 @@ You can use the [Azure Logic Apps](../logic-apps/logic-apps-overview.md) service
109109

110110
1. Enter a **Name** for your Logic App resource, and then select your **Subscription**, **Resource group**, and **Location**. Select **Create**.
111111

112-
![Create a Logic Apps resource](./media/tutorial-facilities-events/create-logic-app.png)
112+
[![Create a Logic Apps resource](./media/tutorial-facilities-events/create-logic-app.png)](./media/tutorial-facilities-events/create-logic-app.png#lightbox)
113113

114114
1. Open your Logic Apps resource when it's deployed, and then open the **Logic App Designer** pane.
115115

@@ -123,7 +123,7 @@ You can use the [Azure Logic Apps](../logic-apps/logic-apps-overview.md) service
123123

124124
c. Select your Event Grid resource from the drop-down box for **Resource Name**.
125125

126-
![Logic App Designer pane](./media/tutorial-facilities-events/logic-app-resource-event.png)
126+
[![Logic App Designer pane](./media/tutorial-facilities-events/logic-app-resource-event.png)](./media/tutorial-facilities-events/logic-app-resource-event.png#lightbox)
127127

128128
1. Select the **New step** button.
129129

@@ -155,7 +155,7 @@ You can use the [Azure Logic Apps](../logic-apps/logic-apps-overview.md) service
155155

156156
This payload has fictitious values. Logic Apps uses this sample payload to generate a *schema*.
157157

158-
![Logic Apps Parse JSON window for Event Grid](./media/tutorial-facilities-events/logic-app-parse-json.png)
158+
[![Logic Apps Parse JSON window for Event Grid](./media/tutorial-facilities-events/logic-app-parse-json.png)](./media/tutorial-facilities-events/logic-app-parse-json.png#lightbox)
159159

160160
1. Select the **New step** button.
161161

@@ -167,7 +167,7 @@ You can use the [Azure Logic Apps](../logic-apps/logic-apps-overview.md) service
167167

168168
c. In the second **Choose a value** text box, enter `UdfCustom`.
169169

170-
![Selected conditions](./media/tutorial-facilities-events/logic-app-condition.png)
170+
[![Selected conditions](./media/tutorial-facilities-events/logic-app-condition.png)](./media/tutorial-facilities-events/logic-app-condition.png#lightbox)
171171

172172
1. In the **If true** window:
173173

@@ -179,15 +179,15 @@ You can use the [Azure Logic Apps](../logic-apps/logic-apps-overview.md) service
179179

180180
d. Under **Body** in the same window, enter text similar to this: **Poor air quality detected in a room, and temperature needs to be adjusted**. Feel free to elaborate by using elements from the **Dynamic content** list.
181181

182-
![Logic Apps "Send an email" selections](./media/tutorial-facilities-events/logic-app-send-email.png)
182+
[![Logic Apps "Send an email" selections](./media/tutorial-facilities-events/logic-app-send-email.png)](./media/tutorial-facilities-events/logic-app-send-email.png#lightbox)
183183

184184
1. Select the **Save** button at the top of the **Logic App Designer** pane.
185185

186186
1. Make sure to simulate sensor data by browsing to the **device-connectivity** folder of the Digital Twins sample in a command window, and running `dotnet run`.
187187

188188
In a few minutes, you should start getting email notifications from this Logic Apps resource.
189189

190-
![Email notification](./media/tutorial-facilities-events/logic-app-notification.png)
190+
[![Email notification](./media/tutorial-facilities-events/logic-app-notification.png)](./media/tutorial-facilities-events/logic-app-notification.png#lightbox)
191191

192192
To stop receiving these emails, go to your Logic Apps resource in the portal, and select the **Overview** pane. Select **Disable**.
193193

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Also note the section named **roleassignments**. It assigns the Space Administra
180180

181181
1. From the output in the command window, copy the value of `ConnectionString`, under the `Devices` section, to your clipboard. You'll need this value to simulate the device connection in the next section.
182182

183-
![Provision sample](./media/tutorial-facilities-udf/run-provision-sample.png)
183+
[![Provision sample](./media/tutorial-facilities-udf/run-provision-sample.png)](./media/tutorial-facilities-udf/run-provision-sample.png#lightbox)
184184

185185
> [!TIP]
186186
> If you get an error message similar to "The I/O operation has been aborted because of either a thread exit or an application request" in the middle of the provisioning, try running the command again. This might happen if the HTTP client timed out from a network issue.
@@ -241,7 +241,7 @@ The user-defined function runs every time your instance receives device and sens
241241

242242
The output window shows how the user-defined function runs and intercepts events from the device simulation.
243243

244-
![Output for the UDF](./media/tutorial-facilities-udf/udf-running.png)
244+
[![Output for the UDF](./media/tutorial-facilities-udf/udf-running.png)](./media/tutorial-facilities-udf/udf-running.png#lightbox)
245245

246246
If the monitored condition is met, the user-defined function sets the value of the space with the relevant message, as we saw [earlier](#create-a-user-defined-function). The `GetAvailableAndFreshSpaces` function prints out the message on the console.
247247

includes/digital-twins-create-portal.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
author: dsk-2015
66
ms.service: digital-twins
77
ms.topic: include
8-
ms.date: 08/16/2019
8+
ms.date: 09/24/2019
99
ms.author: dkshir
1010
ms.custom: include file
1111
---
@@ -14,15 +14,15 @@
1414

1515
1. From the left pane, select **Create a resource**. Search for **digital twins**, and select **Digital Twins**. Select **Create** to start the deployment process.
1616

17-
![Selections for creating a new Digital Twins instance](./media/create-digital-twins-portal/create-digital-twins.png)
17+
[![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)
1818

1919
1. In the **Digital Twins** pane, enter the following information:
2020
* **Resource Name**: Create a unique name for your Digital Twins instance.
2121
* **Subscription**: Choose the subscription that you want to use to create this Digital Twins instance.
2222
* **Resource group**: Select or create a [resource group](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-overview#resource-groups) for the Digital Twins instance.
2323
* **Location**: Select the closest location to your devices.
2424

25-
![Digital Twins pane with entered information](./media/create-digital-twins-portal/create-digital-twins-param.png)
25+
[![Digital Twins pane with entered information](./media/create-digital-twins-portal/create-digital-twins-param.png)](./media/create-digital-twins-portal/create-digital-twins-param.png#lightbox)
2626

2727
1. Review your Digital Twins information, and then select **Create**. Your Digital Twins instance might take a few minutes to be created. You can monitor the progress in the **Notifications** pane.
2828

@@ -32,4 +32,4 @@
3232

3333
Modify the **Management API** URL to this format `https://yourDigitalTwinsName.yourLocation.azuresmartspaces.net/management/api/v1.0/`. Your application will use the modified URL as the base URL to access your instance. Copy this modified URL to a temporary file. You'll need this in the next section.
3434

35-
![Management API](./media/create-digital-twins-portal/digital-twins-management-api.png)
35+
[![Management API](./media/create-digital-twins-portal/digital-twins-management-api.png)](./media/create-digital-twins-portal/digital-twins-management-api.png#lightbox)

includes/digital-twins-permissions-legacy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212

1313
1. In the [Azure portal](https://portal.azure.com), open **Azure Active Directory** from the left pane, and then open the **Properties** pane. Copy the **Directory ID** to a temporary file. You'll use this value to configure a sample application in the next section.
1414

15-
![Azure Active Directory directory ID](./media/digital-twins-permissions-legacy/aad-app-reg-tenant.png)
15+
[![Azure Active Directory directory ID](./media/digital-twins-permissions-legacy/aad-app-reg-tenant.png)](./media/digital-twins-permissions-legacy/aad-app-reg-tenant.png#lightbox)
1616

1717
1. In the [Azure portal](https://portal.azure.com), open **Azure Active Directory** from the left pane, and then open the **App registrations (Legacy)** pane. Select the **New application registration** button.
1818

1919
1. Give a friendly name for this app registration in the **Name** box. Choose **Application type** as **Native**, and **Redirect URI** as `https://microsoft.com`. Select **Create**.
2020

21-
![Create pane](./media/digital-twins-permissions-legacy/aad-app-reg-create.png)
21+
[![Create pane](./media/digital-twins-permissions-legacy/aad-app-reg-create.png)](./media/digital-twins-permissions-legacy/aad-app-reg-create.png#lightbox)
2222

2323
1. Open the registered app, and copy the value of the **Application ID** field to a temporary file. This value identifies your Azure Active Directory app. You'll use the application ID to configure your sample application in the following sections.
2424

25-
![Azure Active Directory application ID](./media/digital-twins-permissions-legacy/aad-app-reg-app-id.png)
25+
[![Azure Active Directory application ID](./media/digital-twins-permissions-legacy/aad-app-reg-app-id.png)](./media/digital-twins-permissions-legacy/aad-app-reg-app-id.png#lightbox)
2626

2727
1. Open your app registration pane. Select **Settings** > **Required permissions**, and then:
2828

@@ -38,6 +38,6 @@
3838

3939
f. In the **Required permissions** pane, select the **Grant permissions** button, and accept the acknowledgment that appears. If the permission is not granted for this API, contact your administrator.
4040

41-
![Required permissions pane](./media/digital-twins-permissions-legacy/aad-app-req-permissions.png)
41+
[![Required permissions pane](./media/digital-twins-permissions-legacy/aad-app-req-permissions.png)](./media/digital-twins-permissions-legacy/aad-app-req-permissions.png#lightbox)
4242

4343

0 commit comments

Comments
 (0)