-2

I'm looking for CRUD Java APIs for IoT Hub. I'm specifically looking for the java equivalent for this REST API (https://learn.microsoft.com/en-us/rest/api/iothub/iothubresource).

I was able to find APIs to create/register devices and send/receive messages but wasn't able find APIs to CRUD Azure IoT hub.

Anirudh Jayakumar
  • 1,171
  • 3
  • 15
  • 37
  • According to our [on-topic](https://stackoverflow.com/help/on-topic) guidance, "**Some questions are still off-topic, even if they fit into one of the categories listed above:**...Questions asking us to *recommend or find a book, tool, software library, tutorial or other off-site resource* are off-topic..." – Robert Columbia Mar 07 '18 at 01:40

1 Answers1

1

The Azure IoT Hub provided different endpoints for manipulate it. These endpoints can be classified as device, service, resource provider, etc(More detail about endpoints of Azure IoT Hub, please refer Azure IoT Hub endpoints).

enter image description here

And Microsoft provide the SDK in different lanuages for Azure IoT hub based on the different endpoints. For example, Microsoft provides C# SDK for Azure IoT Hub for the device and service endpoints named client library(refer here). And Microsoft also provides the C# SDK for the resource provider as Management.

However there is no JAVA SDK for the resource provider for Azure IoT Hub(refer here). You can use the REST in Java for resource provider endpoint of Azure IoT hub. The REST of CRUD Azure IoT Hub, you can refer the links below:

Create Or Update

Delete

Get

In-addition, if you also want Microsoft to provide the Azure IoT resource provider Java SDK, you can vote the feedback from link below:

Azure IoT Hub management SDK for Java

Fei Xue
  • 14,369
  • 1
  • 19
  • 27