【发布时间】:2019-08-20 12:54:13
【问题描述】:
是否可以从 Azure 模块更新 Azure IoT Edge 所需的属性更新。
这是我想做的:
假设我的 IoT Edge 设备的部署清单中有以下 json
"$edgeHub": {
"properties.desired": {
"schemaVersion": "1.0",
"routes": {
"sensorToFilter": "FROM /messages/modules/SimulatedTemperatureSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/filtermodule/inputs/input1\")",
"filterToIoTHub": "FROM /messages/modules/filtermodule/outputs/output1 INTO $upstream"
},
"storeAndForwardConfiguration": {
"timeToLiveSecs": 10,
"lastSyncDt" : "2019-08-19 17:06:33:323"
}
}
}
问题是,是否可以在运行时从 iot edge 模块将“lastSyncDt”更新为新的日期时间值。
提前致谢。
【问题讨论】:
标签: azure azure-iot-edge