Skip to content

Commit 4178d14

Browse files
adding dataflow bicep - hopefully this pushes to remote
1 parent ec27896 commit 4178d14

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

articles/iot-operations/connect-to-cloud/howto-create-dataflow.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,41 @@ To create a dataflow in the operations experience portal, select **Dataflow** >
6060

6161
# [Bicep](#tab/bicep)
6262

63-
TODO
63+
The overall structure of a dataflow configuration is as follows:
64+
65+
```bicep
66+
resource dataflow 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflows@2024-08-15-preview' = {
67+
parent: defaultDataflowProfile
68+
name: 'my-dataflow'
69+
extendedLocation: {
70+
name: customLocation.id
71+
type: 'CustomLocation'
72+
}
73+
properties: {
74+
mode: 'Enabled'
75+
operations: [
76+
{
77+
operationType: 'Source'
78+
sourceSettings: {
79+
// See source configuration section
80+
}
81+
}
82+
{
83+
operationType: 'BuiltInTransformation'
84+
builtInTransformationSettings: {
85+
// See transformation configuration section
86+
}
87+
}
88+
{
89+
operationType: 'Destination'
90+
destinationSettings: {
91+
// See destination configuration section
92+
}
93+
}
94+
]
95+
}
96+
}
97+
```
6498

6599
# [Kubernetes](#tab/kubernetes)
66100

0 commit comments

Comments
 (0)