- Azure IoT Development Cookbook
- Yatish Patil
- 92字
- 2021-07-02 20:50:37
There's more...
Device twin metadata always maintains the last updated timestamp for any modifications. This is the UTC timestamp maintained in the metadata.
Device twin format is a JSON format in which the tags, desired, and reported properties are stored; here is a sample JSON with different nodes showing how it is stored:
"tags": {
"$etag": "1234321",
"location": {
"country": "India"
"city": "Mumbai",
"zipCode": "400001"
}
},
"properties": {
"desired": {
"latitude": 18.75,
"longitude": -75.75,
"status": 1,
"$version": 4
},
"reported": {
"latitude": 18.75,
"longitude": -75.75,
"status": 1,
"$version": 4
}
}
推薦閱讀
- Getting Started with Citrix XenApp? 7.6
- Expert C++
- Java技術手冊(原書第7版)
- Python高級機器學習
- TypeScript實戰指南
- 程序是怎樣跑起來的(第3版)
- 大數據分析與應用實戰:統計機器學習之數據導向編程
- CoffeeScript Application Development Cookbook
- 新一代SDN:VMware NSX 網絡原理與實踐
- Xcode 6 Essentials
- Kotlin語言實例精解
- JavaWeb從入門到精通(視頻實戰版)
- Extending Docker
- Implementing Domain:Specific Languages with Xtext and Xtend
- Python深度學習入門:從零構建CNN和RNN