简体   繁体   English

从IoT Azure Hub获取所有设备

[英]Get all devices from IoT Azure Hub

I would like to obtain all devices into my Azure IoT Hub system (connected, not connected, it doesn't matter). 我想将所有设备都放入我的Azure IoT中心系统中(已连接,未连接,没关系)。

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. 我已经阅读了有关系统本身的文档,但没有结果,但是从Azure IoT中心获取设备列表已过时。

Is there any kind of query which let retrieve all devices associated to my system? 是否有某种查询可以检索与我的系统关联的所有设备?

You can use the REST API Service - Query Iot Hub 您可以使用REST API 服务-查询物联网中心

Payload: 有效载荷:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM