你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Configuration - Get
获取IoT 中心上的配置,以便进行自动设备/模块管理。
GET https://fully-qualified-iothubname.azure-devices.net/configurations/{id}?api-version=2020-05-31-preview
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
id
|
path | True |
string |
配置的唯一标识符。 |
api-version
|
query | True |
string |
Api 的版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
没问题。 |
定义
名称 | 说明 |
---|---|
Configuration |
Iot 中心设备和模块孪生的配置。 |
Configuration |
边缘设备上的设备或模块的配置内容。 |
Configuration |
Iot 中心设备和模块的配置指标。 |
Configuration
Iot 中心设备和模块孪生的配置。
名称 | 类型 | 说明 |
---|---|---|
content |
配置的内容。 |
|
createdTimeUtc |
string |
配置的创建日期和时间。 |
etag |
string |
配置的 ETag。 |
id |
string |
配置的唯一标识符。 |
labels |
object |
用于描述配置的键值对。 |
lastUpdatedTimeUtc |
string |
配置的更新日期和时间。 |
metrics |
开发人员指定为针对孪生报告属性的查询的自定义指标。 |
|
priority |
integer |
分配给配置的优先级编号。 |
schemaVersion |
string |
配置的架构版本。 |
systemMetrics |
由无法自定义IoT 中心计算的系统指标。 |
|
targetCondition |
string |
用于定义目标设备或模块的查询。 查询基于孪生标记和/或报告的属性。 |
ConfigurationContent
边缘设备上的设备或模块的配置内容。
名称 | 类型 | 说明 |
---|---|---|
deviceContent |
object |
设备配置内容。 |
moduleContent |
object |
模块配置内容。 |
modulesContent |
object |
模块配置内容。 |
ConfigurationMetrics
Iot 中心设备和模块的配置指标。
名称 | 类型 | 说明 |
---|---|---|
queries |
object |
具有查询及其标识符的键值对。 |
results |
object |
指标集合查询的结果。 |