从IoT Azure Hub获取所有设备 [英] Get all devices from IoT Azure Hub

查看:88
本文介绍了从IoT Azure Hub获取所有设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将所有设备都放入我的Azure IoT中心系统(已连接,未连接,都没有关系).

I would like to obtain all devices into my Azure IoT Hub system (connected, not connected, it doesn't matter).

我已经阅读了有关系统本身的文档,但没有结果,但是

I've read the documentation about the system itself with no result but Get a list of devices from Azure IoT Hub has become obsolete.

是否存在可以检索与我的系统关联的所有设备的查询?

Is there any kind of query which let retrieve all devices associated to my system?

推荐答案

您可以使用REST API

You can use the REST API Service - Query Iot Hub

有效载荷:

{
  "query": "SELECT deviceId FROM devices"
}

这篇关于从IoT Azure Hub获取所有设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆