Skip to content

Commit b90d696

Browse files
committed
content moves
1 parent c79b5b5 commit b90d696

File tree

8 files changed

+34
-57
lines changed

8 files changed

+34
-57
lines changed

articles/iot-edge/how-to-deploy-at-scale.md

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
author: kgremban
66
manager: philmea
77
ms.author: kgremban
8-
ms.date: 4/14/2020
8+
ms.date: 4/17/2020
99
ms.topic: conceptual
1010
ms.service: iot-edge
1111
services: iot-edge
@@ -173,25 +173,41 @@ If you update the target condition, the following updates occur:
173173
* 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.
174174
* 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.
175175

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.
177177

178-
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your IoT Hub.
179-
1. Select **IoT Edge**.
180-
1. Select the **IoT Edge Deployments** tab.
178+
### Modify targeted devices
181179

182-
![View IoT Edge deployments](./media/how-to-deploy-monitor/iot-edge-deployments.png)
180+
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+
![Specify target conditions for a deployment](./media/how-to-deploy-monitor/target-devices.png)
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+
![Edit properties on the module identity twin](./media/how-to-deploy-monitor/module-twin.png)
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.
183209

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+
![Create a custom metric in the deployment wizard](./media/how-to-deploy-monitor/create-custom-metric.png)
195211

196212
## Delete a deployment
197213

articles/iot-edge/how-to-monitor-iot-edge-deployments.md

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -68,46 +68,7 @@ To view the details of a deployment and monitor the devices running it, use the
6868

6969
![View IoT Edge deployment metric criteria](./media/how-to-monitor-iot-edge-deployments/metric-list.png)
7070

71-
### Define properties
72-
73-
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-
![Edit properties on the module identity twin](./media/how-to-monitor-iot-edge-deployments/module-twin.png)
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-
![Specify target conditions for a deployment](./media/how-to-monitor-iot-edge-deployments/target-devices.png)
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-
![Create a custom metric in the deployment wizard](./media/how-to-monitor-iot-edge-deployments/create-custom-metric.png)
71+
To make changes to your deployment, see [Modify a deployment](how-to-deploy-at-scale.md#modify-a-deployment).
11172

11273
## Monitor a deployment with Azure CLI
11374

60 KB
Loading
58.8 KB
Loading
53.5 KB
Loading
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)