August 2017
Intermediate to advanced
254 pages
6h 10m
English
IoT Hub query explorer is easy to use on the collection of the device registry. Some of the sample queries will be as follows:
SELECT * FROM devices
We tried a simple query which selects all devices. Now, let's try to query using the device tags and device twin. we will refer to the desired properties field called as DeviceOwner.
SELECT * FROM devicesWHERE tags.location.region = 'US'AND properties.desired.deviceConfig.DeviceOwner = 'Rudra'