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: articles/iot-edge/how-to-deploy-at-scale.md
+33-17Lines changed: 33 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ keywords:
5
5
author: kgremban
6
6
manager: philmea
7
7
ms.author: kgremban
8
-
ms.date: 4/14/2020
8
+
ms.date: 4/17/2020
9
9
ms.topic: conceptual
10
10
ms.service: iot-edge
11
11
services: iot-edge
@@ -173,25 +173,41 @@ If you update the target condition, the following updates occur:
173
173
* If a device currently running this deployment no longer meets the target condition, it uninstalls this deployment and takes on the next highest priority deployment.
174
174
* If a device currently running this deployment no longer meets the target condition and doesn't meet the target condition of any other deployments, then no change occurs on the device. The device continues running its current modules in their current state, but is not managed as part of this deployment anymore. Once it meets the target condition of any other deployment, it uninstalls this deployment and takes on the new one.
175
175
176
-
To modify a deployment, use the following steps:
176
+
You can also make changes to reported properties and custom metrics in your deployment. Afterwards, follow the guidance in [Monitor IoT Edge deployments](how-to-monitor-iot-edge-deployments.md) to watch the changes roll out.
177
177
178
-
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your IoT Hub.
You can target the devices to receive the deployment by specifying target conditions when you create or modify a deployment. To define a custom metric:
181
+
182
+
1. In your IoT hub, select **IoT Edge** from the left pane menu.
183
+
1. Select the **IoT Edge deployments** tab and select the deployment you want to configure. Select the **Target Condition** tab.
184
+
185
+
1. Define a target condition, using the example syntax as a guide.
186
+
187
+

188
+
189
+
### Modify desired properties
190
+
191
+
If you developed custom code modules, such as described in [Use Visual Studio 2019 to develop and debug modules for Azure IoT Edge](how-to-visual-studio-develop-module.md), you can monitor their values by defining properties. You can also add, delete, and edit properties in the module twin after the module has been deployed to an IoT Edge device. For an overview of the properties, see [Properties of the IoT Edge agent and IoT Edge hub module twins](module-edgeagent-edgehub.md).
192
+
193
+
To define and edit properties for a deployed module:
194
+
195
+
1. In your IoT hub, select **IoT Edge** from the left pane menu.
196
+
1. Select the device with the module you want to edit.
197
+
1. On the **Modules** tab, select the module.
198
+
1. On the module details page, on the upper menu bar select **Module Identity Twin**.
199
+
200
+

201
+
202
+
### Define a custom metric
203
+
204
+
You can define custom metrics in the Azure portal when you create or modify a deployment. To define a custom metric:
205
+
206
+
1. In your IoT hub, select **IoT Edge** from the left pane menu.
207
+
1. Select the **IoT Edge deployments** tab and then select the deployment you want to configure. Select the **Metrics** tab.
208
+
1. Define a custom metric, using the example syntax as a guide.
183
209
184
-
1. Select the deployment that you want to modify.
185
-
1. Make updates on the following tabs:
186
-
***Target Condition**
187
-
***Metrics** - you can modify or delete metrics you've defined, or add new ones.
188
-
***Labels**
189
-
***Modules**
190
-
***Routes**
191
-
***Deployment**
192
-
193
-
1. Select **Save**.
194
-
1. Follow the guidance in [Monitor IoT Edge deployments](how-to-monitor-iot-edge-deployments.md) to watch the changes roll out.
210
+

If you developed custom code modules, such as described in [Use Visual Studio 2019 to develop and debug modules for Azure IoT Edge](how-to-visual-studio-develop-module.md), you can monitor their values by defining desired and reported properties. You can also add, delete, and edit properties in the module twin after the module has been deployed to an IoT Edge device. For an overview of the properties, see [Properties of the IoT Edge agent and IoT Edge hub module twins](module-edgeagent-edgehub.md).
74
-
75
-
To define and edit properties for a deployed module:
76
-
77
-
1. In your IoT hub, select **IoT Edge** from the left pane menu.
78
-
1. Select the device with the module you want to edit.
79
-
1. On the **Modules** tab, select the module.
80
-
1. On the module details page, on the upper menu bar select **Module Identity Twin**.
81
-
82
-

83
-
84
-
### Define targets
85
-
86
-
You can target the devices to receive the deployment by specifying target conditions when you create or modify a deployment. To define a custom metric:
87
-
88
-
1. In your IoT hub, select **IoT Edge** from the left pane menu.
89
-
90
-
* If you are creating a new deployment, select **Create Deployment** from the upper menu bar. As part of completing the wizard, select the **Target Devices** tab.
91
-
92
-
* If you are modifying a deployment, select the **IoT Edge deployments** tab and select the deployment you want to configure. Select the **Target Condition** tab.
93
-
94
-
1. Define a target condition, using the example syntax as a guide.
95
-
96
-

97
-
98
-
### Define a custom metric
99
-
100
-
You can define custom metrics in the Azure portal when you create or modify a deployment. To define a custom metric:
101
-
102
-
1. In your IoT hub, select **IoT Edge** from the left pane menu.
103
-
104
-
* If you are creating a new deployment, select **Create Deployment** from the upper menu bar. As part of completing the wizard, select the **Metrics** tab.
105
-
106
-
* If you are modifying a deployment, select the **IoT Edge deployments** tab and then select the deployment you want to configure. Select the **Metrics** tab.
107
-
108
-
1. Define a custom metric, using the example syntax as a guide.
109
-
110
-

71
+
To make changes to your deployment, see [Modify a deployment](how-to-deploy-at-scale.md#modify-a-deployment).
0 commit comments