I just wanted to know if it is possible to create Azure IoThub, IoT Device through API.
There is already API to control AzIotHub which is "AzIotHub cmdlet"
You can use it with your own schedule or application
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I just wanted to know if it is possible to create Azure IoThub, IoT Device through API. I want to reduce the manual work to create an IoTHub and IoT Device from the portal. So is it possible to automate this process by any means?? Can we do it without certifications?? Please let me know more information on the same. Thank you.
I just wanted to know if it is possible to create Azure IoThub, IoT Device through API.
There is already API to control AzIotHub which is "AzIotHub cmdlet"
You can use it with your own schedule or application
I wrote a blog in the past about adding and updating device registration using the Azure SDK in C#.
Perhaps this helps you to automate the process.
It needs only the right access policy for the IoT Hub.
Be aware, this policy/connection string has te be kept secure, at least in production! I recommend to execute the code (and the key) within Azure (eg a webapp or an azure function) and not on your laptop. This way the actual secret can be stored in Azure Vault.