Azure IOT Hub SDK - How to create standard and layered deployments for IOT Edge Devices using IOT Hub SDK?

Shashank Kaushik 21 Reputation points
2021-06-14T08:34:17.627+00:00

Hi ,

I am trying to build a cloud web application which can do below tasks-:

  1. Create Azure IOT Edge Devices on IOT Hub using IOT Hub SDK.
  2. Create Standard and Layered Deployment for the target devices using IOT Hub SDK.

I was able to accomplish the first task using the RegistryManager API in IOT hub SDK.

But I am not able to find any sample SDK or API via which I can write code (in JAVA) to create deployments for IOT Edge Devices.

Can you please help me out here if, is there any SDK or API available to accomplish my second task?

I do checked the documents suggesting to do the same thing via Azure CLI, Azure Portal and Visual Studio Code.
Deploy and monitor IoT Edge modules at scale using Azure Portal using below link.
https://learn.microsoft.com/en-us/azure/iot-edge/how-to-deploy-at-scale?view=iotedge-2020-11

I want to accomplish the same thing using any SDK or API provided.
Please let me know if the same is available.

Thanks In Advance!

Regards
Shashank

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
534 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
208 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde 28,311 Reputation points MVP
    2021-06-14T21:32:46.227+00:00

    Hello @Shashank Kaushik ,

    this is a good question!

    I have worked with the Azure IoT Hub Rest API which you want to use for this. Microsoft does not provide a higher level API (written in C#, Java, etc.) at this moment.

    You probably want to use this Create or Update Configuration API.

    Please verify this is working on both 'direct internet connected IoT devices' and Edge devices.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful