You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-operations/connect-to-cloud/howto-configure-dataflow-endpoint.md
+74-1Lines changed: 74 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: patricka
6
6
ms.service: azure-iot-operations
7
7
ms.subservice: azure-data-flows
8
8
ms.topic: how-to
9
-
ms.date: 04/03/2025
9
+
ms.date: 06/18/2025
10
10
11
11
#CustomerIntent: As an operator, I want to understand how to configure source and destination endpoints so that I can create a data flow.
12
12
---
@@ -63,6 +63,42 @@ For example, you can use the default MQTT broker data flow endpoint. You can use
63
63
64
64
:::image type="content" source="media/howto-configure-dataflow-endpoint/create-dataflow-mq-mq.png" alt-text="Screenshot using operations experience to create a data flow from MQTT to MQTT.":::
65
65
66
+
# [Azure CLI](#tab/cli)
67
+
68
+
69
+
Use the `az iot ops dataflow apply` command to create or change a data flow.
The `--config-file` parameter is the path and file name of a JSON configuration file containing the resource properties.
76
+
77
+
In this example, assume a configuration file named `data-flow.json` with the following content stored in the user's home directory:
78
+
```json
79
+
{
80
+
"mode": "Enabled",
81
+
"operations": [
82
+
{
83
+
"operationType": "Source",
84
+
"sourceSettings": {
85
+
"endpointRef": "default",
86
+
"dataSources": [
87
+
"example/topic/1"
88
+
]
89
+
}
90
+
},
91
+
{
92
+
"operationType": "Destination",
93
+
"destinationSettings": {
94
+
"endpointRef": "default",
95
+
"dataDestination": "example/topic/2"
96
+
}
97
+
}
98
+
]
99
+
}
100
+
```
101
+
66
102
# [Bicep](#tab/bicep)
67
103
68
104
```bicep
@@ -127,6 +163,43 @@ Similarly, you can create multiple data flows that use the same MQTT endpoint fo
127
163
128
164
:::image type="content" source="media/howto-configure-dataflow-endpoint/create-dataflow-mq-kafka.png" alt-text="Screenshot using operations experience to create a data flow from MQTT to Kafka.":::
129
165
166
+
# [Azure CLI](#tab/cli)
167
+
168
+
Use the `az iot ops dataflow apply` command to create or change a data flow.
0 commit comments