Device1という名前のデバイスで実行されるSampleModuleという名前のAzureIoTEdgeモジュールがあります。 Microsoft Visual Studio Codeを使用して、SampleModuleのコードを変更します。 コードをコンテナレジストリにプッシュしてから、モジュールをDevice1にデプロイする必要があります。 Visual Studio Codeから実行する必要がある2つのアクションはどれですか?それぞれの正解は、解決策の一部を示しています。 注:正しい選択はそれぞれ1ポイントの価値があります。
正解:B,D
D: Once you create IoT Edge modules with your business logic, you want to deploy them to your devices to operate at the edge. B: Configure a deployment manifest. A deployment manifest is a JSON document that describes which modules to deploy, how data flows between the modules, and desired properties of the module twins. You deploy modules to your device by applying the deployment manifest that you configured with the module information. In the Visual Studio Code explorer view, expand the Azure IoT Hub section, and then expand the Devices node. To confirm that the device you've chosen is an IoT Edge device, select it to expand the list of modules and verify the presence of $edgeHub and $edgeAgent. Every IoT Edge device includes these two modules. Select Create Deployment for Single Device. Navigate to the deployment manifest JSON file that you want to use, and click Select Edge Deployment Manifest. Reference: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-deploy-modules-vscode