Skip to content

Commit 74eaca4

Browse files
committed
lightbox added to tutorials
1 parent 45cd8e0 commit 74eaca4

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

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

Lines changed: 6 additions & 6 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,7 +133,7 @@ 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

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

0 commit comments

Comments
 (0)