Statistics - Get Service Statistics
获取 IoT 中心标识注册表的服务统计信息,例如连接的设备计数。
GET https://fully-qualified-iothubname.azure-devices.net/statistics/service?api-version=2021-04-12
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
api-version
|
query | True |
string |
Api 的版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
还行。 |
定义
ServiceStatistics
名称 | 类型 | 说明 |
---|---|---|
connectedDeviceCount |
integer (int64) |
当前连接的设备数。 |