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/discover-manage-assets/howto-use-http-connector.md
+39-6Lines changed: 39 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ In Azure IoT Operations, the connector for REST/HTTP (preview) enables access to
21
21
This article explains how to use the connector for REST/HTTP to perform tasks such as:
22
22
23
23
- Define the devices that connect HTTP sources to your Azure IoT Operations instance.
24
-
- Add assets, and define the data points to enable the data flow from the HTTP source to the MQTT broker.
24
+
- Add assets, and define the data points to enable the data flow from the HTTP source to the MQTT broker or [broker state store](../develop-edge-apps/overview-state-store.md).
25
25
26
26
## Prerequisites
27
27
@@ -37,12 +37,11 @@ You need any credentials required to access the HTTP source. If the HTTP source
> If you don't enable preview features, you see the following error message in the `aio-supervisor-...` pod logs when you try to use the HTTP, media, or ONVIF connectors: `No connector configuration present for AssetEndpointProfile: <AssetEndpointProfileName>`.
42
-
43
40
## Create a device
44
41
45
-
To configure the connector for REST/HTTP, first create a device that defines the connection to the HTTP source. The device includes the URL of the HTTP source and any credentials you need to access the HTTP source.
42
+
To configure the connector for REST/HTTP, first create a device that defines the connection to the HTTP source. The device includes the URL of the HTTP source and any credentials you need to access the HTTP source:
43
+
44
+
# [Operations experience](#tab/portal)
46
45
47
46
1. In the operations experience web UI, select **Devices** in the left navigation pane. Then select **Create new**.
48
47
@@ -64,10 +63,26 @@ To configure the connector for REST/HTTP, first create a device that defines the
64
63
65
64
:::image type="content" source="media/howto-use-http-connector/http-connector-device-created.png" alt-text="Screenshot that shows the list of devices." lightbox="media/howto-use-http-connector/http-connector-device-created.png":::
66
65
66
+
# [Azure CLI](#tab/cli)
67
+
68
+
Run the following commands:
69
+
70
+
```azurecli
71
+
az iot ops ns device create -n rest-http-connector-cli -g {your resource group name} --instance {your instance name}
To learn more, see [az iot ops ns device](/cli/azure/iot/ops/ns/device).
77
+
78
+
---
79
+
67
80
## Create a namespace asset
68
81
69
82
To define a namespace asset that publishes data points from the HTTP endpoint, follow these steps:
70
83
84
+
# [Operations experience](#tab/portal)
85
+
71
86
1. In the operations experience web UI, select **Assets** in the left navigation pane. Then select **Create namespace asset**.
72
87
73
88
1. Select the inbound endpoint for the connector for REST/HTTP that you created in the previous section.
@@ -80,8 +95,26 @@ To define a namespace asset that publishes data points from the HTTP endpoint, f
80
95
81
96
:::image type="content" source="media/howto-use-http-connector/add-data-point.png" alt-text="Screenshot that shows how to add a data point for HTTP source." lightbox="media/howto-use-http-connector/add-data-point.png":::
82
97
83
-
Add details for each data point to publish to the MQTT broker. Then select **Next** to continue.
98
+
Add details for each data point to publish to the MQTT broker.
99
+
100
+
1. To configure the destination for the data, select **Manage default dataset**. Choose either **MQTT broker** or **Broker state store** as the destination. If you choose **MQTT broker**, you can enter the name of the topic to publish to. If you choose **Broker state store**, you can enter the key of the entry in the state store to use.
101
+
102
+
:::image type="content" source="media/howto-use-http-connector/configure-dataset.png" alt-text="Screenshot that shows how to configure the dataset for HTTP source." lightbox="media/howto-use-http-connector/configure-dataset.png":::
103
+
104
+
Select **Next** to continue.
84
105
85
106
1. On the **Review** page, review the details of the asset and select **Create** to create the asset. After a few minutes, the asset is listed on the **Assets** page:
86
107
87
108
:::image type="content" source="media/howto-use-http-connector/http-asset-created.png" alt-text="Screenshot that shows the list of assets." lightbox="media/howto-use-http-connector/http-asset-created.png":::
Copy file name to clipboardExpand all lines: articles/iot-operations/includes/deploy-preview-media-connectors.md
+4-41Lines changed: 4 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,50 +7,13 @@ ms.date: 07/25/2025
7
7
ms.author: dobett
8
8
---
9
9
10
-
Before you can use the preview connectors (ONVIF, media, and REST/HTTP) in the operations experience web UI, an administrator must:
10
+
When you deploy the preview version of Azure IoT Operations, the deployment includes the three preview connectors. You can verify that you have a preview instance of Azure IoT Operations by checking in the Azure portal that preview features are enabled for your instance:
11
11
12
-
1. Enable them in your Azure IoT Operations instance.
13
-
1. Add connector template instances to your Azure IoT Operations instance.
12
+
:::image type="content" source="media/deploy-preview-media-connectors/portal-enable-preview-connectors.png" alt-text="Screenshot of Azure portal that shows that preview features are enabled." lightbox="media/deploy-preview-media-connectors/portal-enable-preview-connectors.png":::
14
13
15
-
To enable the preview connectors, you can either enable them when you deploy your Azure IoT Operations instance or enable them after you deploy your instance.
14
+
Before you can use the preview connectors (ONVIF, media, and REST/HTTP) in the operations experience web UI, an administrator must add connector template instances to your Azure IoT Operations instance.
16
15
17
-
To enable the preview connectors when you deploy your Azure IoT Operations instance:
18
-
19
-
# [Azure portal](#tab/portal)
20
-
21
-
Select **ONVIF Connector and Media Connector (Preview)** in the **Connectors** section of the **Install Azure IoT Operations > Basics** page:
22
-
23
-
:::image type="content" source="media/deploy-preview-media-connectors/portal-deploy-preview-connectors.png" alt-text="Screenshot of Azure portal that shows how to select the preview connectors." lightbox="media/deploy-preview-media-connectors/portal-deploy-preview-connectors.png":::
24
-
25
-
# [Azure CLI](#tab/cli)
26
-
27
-
Include the `--feature connectors.settings.preview=Enabled` parameter when you run the `az iot ops create` command.
28
-
29
-
---
30
-
31
-
To enable the preview connectors after you deploy your Azure IoT Operations instance:
32
-
33
-
# [Azure portal](#tab/portal)
34
-
35
-
1. Go to your Azure IoT Operations instance in the Azure portal.
36
-
37
-
1. Enable the preview connectors:
38
-
39
-
:::image type="content" source="media/deploy-preview-media-connectors/portal-enable-preview-connectors.png" alt-text="Screenshot of Azure portal that shows how to enable the preview connectors." lightbox="media/deploy-preview-media-connectors/portal-enable-preview-connectors.png":::
40
-
41
-
# [Azure CLI](#tab/cli)
42
-
43
-
Run the following command to enable the preview connectors:
44
-
45
-
```azcli
46
-
az iot ops update -n <your-instance> -g <your-resource-group> --feature connectors.settings.preview=Enabled
47
-
```
48
-
49
-
---
50
-
51
-
All three preview connectors can publish captured data to the MQTT broker and save captured data to storage.
52
-
53
-
Azure IoT Operations uses [Azure Container Storage enabled by Azure Arc](/azure/azure-arc/container-storage/overview) to transfer the captured data to cloud storage destinations such as Azure Blob Storage. When you configure a connector template instance, you specify a _persistent volume claim_ and path for the connector to use to save captured data. To learn how to create a suitable persistent volume claim, see [Cloud Ingest Edge Volumes configuration](/azure/azure-arc/container-storage/cloud-ingest-edge-volume-configuration).
16
+
All three preview connectors can publish captured data to the MQTT broker and save captured data to storage. Azure IoT Operations uses [Azure Container Storage enabled by Azure Arc](/azure/azure-arc/container-storage/overview) to transfer the captured data to cloud storage destinations such as Azure Blob Storage. When you configure a connector template instance, you specify a _persistent volume claim_ and _mount path_ for the connector to use to save captured data. To learn how to create a suitable persistent volume claim, see [Cloud Ingest Edge Volumes configuration](/azure/azure-arc/container-storage/cloud-ingest-edge-volume-configuration).
54
17
55
18
To add a connector template instance to your Azure IoT Operations instance:
0 commit comments