Statistics - Get Device Statistics

Gets device statistics of the IoT Hub identity registry, such as total device count.

GET https://fully-qualified-iothubname.azure-devices.net/statistics/devices?api-version=2021-04-12

URI Parameters

Name In Required Type Description
api-version
query True

string

Version of the Api.

Responses

Name Type Description
200 OK

RegistryStatistics

OK.

Definitions

RegistryStatistics

Name Type Description
disabledDeviceCount

integer

The number of currently disabled devices.

enabledDeviceCount

integer

The number of currently enabled devices.

totalDeviceCount

integer

The total number of devices registered for the IoT Hub.