你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceTelemetryEvent interface

设备遥测事件的 EventGridEvent Data 属性的架构 (DeviceTelemetry) 。

属性

body

来自设备的消息内容。

properties

应用程序属性是用户定义的字符串,可以添加到消息。 这些字段是可选的。

systemProperties

系统属性有助于标识消息的内容和源。

属性详细信息

body

来自设备的消息内容。

body: any

属性值

any

properties

应用程序属性是用户定义的字符串,可以添加到消息。 这些字段是可选的。

properties: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

systemProperties

系统属性有助于标识消息的内容和源。

systemProperties: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}