question

PetrMaslak-0806 avatar image
0 Votes"
PetrMaslak-0806 asked ·

Query error For Iot Edge

How should query looks like in order to get all edge devices?
79567-query-error.jpg


azure-iot-hub
query-error.jpg (285.5 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered ·

Hello @PetrMaslak-0806

In this page, you can only fill in the WHERE clause. And it is paged to protect both the Azure service and the user in case there are a million users.

If you fill in:

79872-image.png

You get (the same) page list of all edge devices.

An alternative is the Query Explorer, seen in the main menu of the IoT Hub :

79838-image.png

Notice the 'unlimited' option... This only shows the device twin of edge devices, not the module twins.

You can also check out the underlying IoT Hub Rest API eg. 'Get Devices'.



image.png (32.8 KiB)
image.png (44.8 KiB)
· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you,
it would be great if 'query editor' would take and convert data from 'query builder'. Then it would be more clear at first view.

0 Votes 0 ·