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-monitor-vscode.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ If you need to determine which IoT Edge devices you can currently configure, run
125
125
126
126
## Identify devices with target conditions
127
127
128
-
To identify the IoT Edge devices that are to receive the deployment, you must specify a target condition. A target condition is met when the condition is met by matching a specified deviceId, tag value, or a reported property value.
128
+
To identify the IoT Edge devices that are to receive the deployment, you must specify a target condition. A target condition is met when specified criteria is matched by a deviceId, tag value, or a reported property value.
129
129
130
130
You configure tags in the device twin. Here is an example of a device twin that has tags:
131
131
@@ -149,9 +149,9 @@ Here are some more examples:
149
149
* deviceId ='linuxprod1'
150
150
* deviceId = 'linuxprod1' OR deviceId = 'linuxprod2' OR deviceId = 'linuxprod3'
151
151
* tags.environment ='prod'
152
-
* tags.environment = 'prod' AND tags.location = 'westus'
153
-
* tags.environment = 'prod' OR tags.location = 'westus'
154
-
* tags.operator = 'John' AND tags.environment = 'prod' NOT deviceId = 'linuxprod1'
152
+
* tags.environment = 'prod' AND tags.location = 'westus2'
153
+
* tags.environment = 'prod' OR tags.location = 'westus2'
154
+
* tags.operator = 'John' AND tags.environment = 'prod' AND NOT deviceId = 'linuxprod1'
155
155
156
156
See [target condition](module-deployment-monitoring.md#target-condition) for details. For more information about device twins and tags, see [Understand and use device twins in IoT Hub](../iot-hub/iot-hub-devguide-device-twins.md).
157
157
@@ -205,7 +205,11 @@ After you save the local file, run the **IoT Edge: Update Device Twin** command.
205
205
206
206
After you have configured the deployment manifest and configured tags in the device twin, you're ready to deploy.
207
207
208
-
1. From the **View** menu, select **Command Palette** and select the **Azure IoT Edge: Create Deployment at Scale** command. You will be asked for a few parameter values, starting with the **deployment id**.
208
+
1. From the **View** menu, select **Command Palette** and select the **Azure IoT Edge: Create Deployment at Scale** command.
209
+
210
+
1. Navigate to the deployment manifest JSON file that you want to use, and click **Select Edge Deployment Manifest**.
211
+
212
+
1. Provide values as prompted, starting with the **deployment id**.
209
213
210
214

211
215
@@ -226,7 +230,7 @@ After you have configured the deployment manifest and configured tags in the dev
226
230
227
231
## Monitoring and modifying deployments
228
232
229
-
Use the [Azure CLI](how-to-deploy-monitor-cli.md#monitor-a-deployment) or the [Azure portal](how-to-deploy-monitor.md#monitor-a-deployment) to monitor, modify, and delete deployments. Both provide metrics on your deployments, but the Azure CLI provides additional granularity by allowing you to query values for specific properties.
233
+
Use the [Azure CLI](how-to-deploy-monitor-cli.md#monitor-a-deployment) or the [Azure portal](how-to-deploy-monitor.md#monitor-a-deployment) to monitor, modify, and delete deployments. Both provide metrics on your deployments.
0 commit comments