Changes

Jump to: navigation, search
no edit summary
This tab is extremely convenient to establish the connection between VSC and the IoT hub we created previously on Azure platform.
After installing the ''Azure IoT Tools extension package'', VSC suggests to install the ''iotedgehubdev'' as well. Although it is not necessary, this packake package may be useful for debugging tasks. For more details, please tefer to [https://github.com/Azure/iotedgehubdev this page].==Deploying a simple module==Following the example illustrated [https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode here], the first step is to create a <code>deployment.json</code> file. In this case, the [https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoft.edge-simulated-temperature-sensor-ga ''Simulated Temperature Sensor'' module] will be deployed to the edge device. The following picture shows the file and the ''Azure IoT Hub Devices'' section in the bottom left corner. This section in turn lists the connected edge devices—<code>sbcx</code> in the example—and the running modules (TBD). 
[[File:SBCX-VSC-Azure-IoT-Tools2.png|thumb|center|600px|The ''Azure IoT Hub Devices'' section before deploying the ''Simulated Temperature Sensor'' module]]
==Deploying a simple module==By right-clicking on the <code>sbcx</code> device, the ''Create Deployment for Single Device'' item can be selected. This action starts the deployment process. At the end of this process, the ''Deployment succeeded'' message should appear on the output console:  [[File:SBCX-VSC-Azure-IoT-Tools3.png|thumb|center|600px|The output console during the deployment process]]
4,650
edits

Navigation menu