Skip to content

Commit b47cf97

Browse files
committed
Add serialization to Bicep
1 parent 3c48a3b commit b47cf97

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

articles/iot-operations/connect-to-cloud/tutorial-mqtt-bridge.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,13 +366,33 @@ resource dataflow_1 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflow
366366
operationType: 'Source'
367367
sourceSettings: {
368368
endpointRef: 'default'
369+
serializationFormat: 'Json'
369370
dataSources: array('tutorial/local')
370371
}
371372
}
373+
{
374+
operationType: 'BuiltInTransformation'
375+
376+
builtInTransformationSettings: {
377+
serializationFormat: 'Json'
378+
datasets: []
379+
filter: []
380+
map: [
381+
{
382+
type: 'PassThrough'
383+
inputs: [
384+
'*'
385+
]
386+
output: '*'
387+
}
388+
]
389+
}
390+
}
372391
{
373392
operationType: 'Destination'
374393
destinationSettings: {
375394
endpointRef: 'eventgrid'
395+
serializationFormat: 'Json'
376396
dataDestination: 'telemetry/aio'
377397
}
378398
}
@@ -393,9 +413,28 @@ resource dataflow_2 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflow
393413
operationType: 'Source'
394414
sourceSettings: {
395415
endpointRef: 'eventgrid'
416+
serializationFormat: 'Json'
396417
dataSources: array('telemetry/#')
397418
}
398419
}
420+
{
421+
operationType: 'BuiltInTransformation'
422+
423+
builtInTransformationSettings: {
424+
serializationFormat: 'Json'
425+
datasets: []
426+
filter: []
427+
map: [
428+
{
429+
type: 'PassThrough'
430+
inputs: [
431+
'*'
432+
]
433+
output: '*'
434+
}
435+
]
436+
}
437+
}
399438
{
400439
operationType: 'Destination'
401440
destinationSettings: {

0 commit comments

Comments
 (0)