Statistics - Get Service Statistics
Gets service statistics of the IoT Hub identity registry, such as connected device count.
GET https://fully-qualified-iothubname.azure-devices.net/statistics/service?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 |
OK. |
Definitions
ServiceStatistics
| Name | Type | Description |
|---|---|---|
| connectedDeviceCount |
integer (int64) |
The number of currently connected devices. |