Skip to content

Instantly share code, notes, and snippets.

@ThomasPe
Created September 8, 2020 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasPe/02d1aeed5bcea66218e18bc29f4e9df1 to your computer and use it in GitHub Desktop.
Save ThomasPe/02d1aeed5bcea66218e18bc29f4e9df1 to your computer and use it in GitHub Desktop.
deployment.template.json $edgeHub
"$edgeHub": {
"properties.desired": {
"schemaVersion": "1.0",
"routes": {
"IdentityTranslationModuleToIoTHub": "FROM /messages/modules/IdentityTranslationModule/outputs/* INTO $upstream",
"sensorToIdentityTranslationModule": "FROM /messages/modules/SimulatedTemperatureSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/IdentityTranslationModule/inputs/input1\")"
},
"storeAndForwardConfiguration": {
"timeToLiveSecs": 7200
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment