Guest User

Untitled

a guest
Jan 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. {
  2. "moduleContent": {
  3. "$edgeAgent": {
  4. "properties.desired": {
  5. "schemaVersion": "1.0",
  6. "runtime": {
  7. "type": "docker",
  8. "settings": {
  9. "minDockerVersion": "v1.25",
  10. "loggingOptions": ""
  11. }
  12. },
  13. "systemModules": {
  14. "edgeAgent": {
  15. "type": "docker",
  16. "settings": {
  17. "image": "microsoft/azureiotedge-agent:1.0-preview",
  18. "createOptions": "{}"
  19. }
  20. },
  21. "edgeHub": {
  22. "type": "docker",
  23. "status": "running",
  24. "restartPolicy": "always",
  25. "settings": {
  26. "image": "microsoft/azureiotedge-hub:1.0-preview",
  27. "createOptions": "{}"
  28. }
  29. }
  30. },
  31. "modules": {
  32. "tempSensor": {
  33. "version": "1.0",
  34. "type": "docker",
  35. "status": "running",
  36. "restartPolicy": "always",
  37. "settings": {
  38. "image": "microsoft/azureiotedge-simulated-temperature-sensor:1.0-preview",
  39. "createOptions": "{}"
  40. }
  41. },
  42. "filtermodule": {
  43. "version": "1.0",
  44. "type": "docker",
  45. "status": "running",
  46. "restartPolicy": "always",
  47. "settings": {
  48. "image": "ianphilacrtest.azurecr.io/filtermodule:#{FilterModule.BuildId}#-linux-x64",
  49. "createOptions": "{}"
  50. }
  51. }
  52. }
  53. }
  54. },
  55. "$edgeHub": {
  56. "properties.desired": {
  57. "schemaVersion": "1.0",
  58. "routes":{
  59. "sensorToFilter":"FROM /messages/modules/tempSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/filtermodule/inputs/input1\")",
  60. "filterToIoTHub":"FROM /messages/modules/filtermodule/outputs/output1 INTO $upstream"
  61. },
  62. "storeAndForwardConfiguration": {
  63. "timeToLiveSecs": 7200
  64. }
  65. }
  66. }
  67. }
  68. }
Add Comment
Please, Sign In to add comment