How to get deployment manifest of modules of IoT edge device by Azure CLI or Rest API

%3CLINGO-SUB%20id%3D%22lingo-sub-3208206%22%20slang%3D%22en-US%22%3EHow%20to%20get%20deployment%20manifest%20of%20modules%20of%20IoT%20edge%20device%20by%20Azure%20CLI%20or%20Rest%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3208206%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20deploy%20a%20new%20module%20to%20IoT%20edge%20device%20by%20Azure%20CLI%20(%3CSPAN%3Eaz%20iot%20edge%20set-modules%3C%2FSPAN%3E).%3C%2FP%3E%0A%3CP%3EI%20need%20to%20download%20the%20existing%20deployment%20manifest%20of%20the%20IoT%20edge%20device%20before%20deploy%20the%20deployment%20json.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Tim10002_1-1645690932468.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350886i4C6971D5076C379F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Tim10002_1-1645690932468.png%22%20alt%3D%22Tim10002_1-1645690932468.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIs%20it%20possible%20to%20get%20the%20deployment%20json%20of%20IoT%20edge%20device%20by%20Azure%20CLI%2FRest%20API.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3ETim%3C%2FP%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Microsoft

I want to deploy a new module to IoT edge device by Azure CLI (az iot edge set-modules).

I need to download the existing deployment manifest of the IoT edge device before deploy the deployment json.

 

Tim10002_1-1645690932468.png

Is it possible to get the deployment json of IoT edge device by Azure CLI/Rest API.

 

Thanks,

Tim

 
0 Replies