[英]Creating the necessary SAS-Key to communicate with the Azure IoT-Hub
[英]Creating Azure iot-hub and device on it using node.js code
我正在創建 java 腳本網站以創建到 Azure 物聯網集線器並在 azure 物聯網集線器上創建設備。 有沒有辦法使用 node.js 代碼來做到這一點。 像 azure-iot-hub 和設備的創建應該對網站的用戶隱藏。
Azure iot-hub 應該使用代碼創建,而不是通過登錄 azure 門戶手動創建。
IoTHub的管理API都是RESTful的,所以可以使用fetch之類的Javascript庫來管理資源。
https://learn.microsoft.com/en-us/rest/api/iothub/iot-hub-resource/create-or-update
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.