Skip to content

Commit fcdfa9c

Browse files
Merge pull request #312835 from dominicbetts/aio-datasets-management-groups-event-groups
AIO: Improve management groups
2 parents e9a9959 + 16a624f commit fcdfa9c

4 files changed

Lines changed: 110 additions & 7 deletions

File tree

articles/iot-operations/discover-manage-assets/howto-configure-opc-ua.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,12 @@ This command shows you what changes would be made to your Azure resources withou
658658

659659
---
660660

661+
## Add management groups and actions
662+
663+
A management group is a logical grouping of actions that you can invoke against an OPC UA asset, such as writing a value to a tag or calling a method. Actions must belong to a management group.
664+
665+
To create a management group and define actions for it, see [Control OPC UA servers](howto-control-opc-ua.md). That article explains the different types of actions (simple writes, complex writes, and method calls) and the MQTT topics you use to invoke them.
666+
661667
## Update an asset
662668

663669
# [Operations experience](#tab/portal)
@@ -871,6 +877,7 @@ To delete individual resources by using Bicep, see [Deployment stacks](/azure/az
871877
## Related content
872878

873879
- [Manage asset and device configurations](howto-use-operations-experience.md)
880+
- [Control OPC UA servers](howto-control-opc-ua.md)
874881
- [Connector for OPC UA overview](overview-opc-ua-connector.md)
875882
- [az iot ops ns asset](/cli/azure/iot/ops/ns/asset)
876883
- [az iot ops ns device](/cli/azure/iot/ops/ns/device)

articles/iot-operations/discover-manage-assets/howto-use-sse-connector.md

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,30 @@ To define an asset that publishes events from the SSE endpoint, follow these ste
178178

179179
1. Add any custom properties you want to associate with the asset. For example, you might add a property to indicate the manufacturer of the camera. Select **Next** to continue.
180180

181-
1. On the **Datasets** page, create any datasets required and define the data points.
181+
A dataset defines where the connector sends the data it collects from a collection of data points. An SSE asset can have multiple datasets. To create a dataset:
182182

183-
1. On the **Event groups** page, create an event group to define the events to publish to the MQTT broker.
183+
1. Select **Create dataset**.
184184

185-
1. In the event group, select **Add event** to add an event for the asset. For example:
185+
1. Enter the details for the dataset such as its name, data source, and destination. For SSE assets, the data source is the path on the SSE endpoint. The destination is either an MQTT topic or a [broker state store](../develop-edge-apps/overview-state-store.md) key.
186186

187-
:::image type="content" source="media/howto-use-sse-connector/add-event.png" alt-text="Screenshot that shows how to add an event for SSE source." lightbox="media/howto-use-sse-connector/add-event.png":::
187+
1. Select **Create and next** to create the dataset.
188+
189+
> [!TIP]
190+
> Use the **Manage default settings** option to configure default dataset settings.
191+
192+
An event group defines where the connector sends the data it receives from a collection of events. An SSE asset can have multiple event groups. To create an event group:
193+
194+
1. Select **Create event group**.
195+
196+
1. Enter a name for the event group and the destination MQTT topic.
188197

189-
Add details for each event to publish to the MQTT broker.
198+
1. Select **Create and next** to create the event group and go to the events page.
190199

191-
Select **Next** to continue.
200+
1. Select **Add event** to add an event to the group. For example:
201+
202+
:::image type="content" source="media/howto-use-sse-connector/add-event.png" alt-text="Screenshot that shows how to add an event for SSE source." lightbox="media/howto-use-sse-connector/add-event.png":::
203+
204+
Add details for each event to publish to the MQTT broker. Select **Next** to continue.
192205

193206
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:
194207

@@ -202,6 +215,10 @@ Run the following command:
202215
az iot ops ns asset sse create --name mysseasset --instance {your instance name} -g {your resource group name} --device sse-connector-cli --endpoint sse-connector-0
203216
204217
az iot ops ns asset sse dataset add --asset mysseasset --instance {your instance name} -g {your resource group name} --name weatherdata --data-source "/api/weather" --dest topic="azure-iot-operations/data/erp" retain=Never qos=Qos1 ttl=3600
218+
219+
az iot ops ns asset sse event-group add --asset mysseasset --instance {your instance name} -g {your resource group name} --name alerts --data-source "" --dest topic="azure-iot-operations/events/mysseasset" retain=Never qos=Qos1 ttl=3600
220+
221+
az iot ops ns asset sse event add --asset mysseasset --instance {your instance name} -g {your resource group name} --event-group alerts --name temperaturethreshold --data-source "/events/temperaturethreshold" --dest topic="azure-iot-operations/events/mysseasset" retain=Never qos=Qos1 ttl=3600
205222
```
206223

207224
To learn more, see [az iot ops ns asset sse](/cli/azure/iot/ops/ns/asset/sse).
@@ -260,6 +277,31 @@ resource asset 'Microsoft.DeviceRegistry/namespaces/assets@2025-10-01' = {
260277
]
261278
}
262279
]
280+
281+
eventGroups: [
282+
{
283+
name: 'alerts'
284+
eventGroupConfiguration: '{}'
285+
events: [
286+
{
287+
name: 'temperaturethreshold'
288+
dataSource: '/events/temperaturethreshold'
289+
eventConfiguration: '{}'
290+
destinations: [
291+
{
292+
target: 'Mqtt'
293+
configuration: {
294+
topic: 'azure-iot-operations/events/mysseasset'
295+
qos: 'Qos1'
296+
retain: 'Never'
297+
ttl: 3600
298+
}
299+
}
300+
]
301+
}
302+
]
303+
}
304+
]
263305
}
264306
}
265307
```

articles/iot-operations/discover-manage-assets/overview-manage-assets.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,24 @@ Connectors include:
136136

137137
- **Custom connectors**. Services that you create to connect to other data sources and publish data to the MQTT broker. Use the Azure IoT Operations SDKs to create custom connectors that meet your specific requirements.
138138

139+
Each connector organizes asset data using one or more of the following types:
140+
141+
- **Datasets**: A logical grouping of telemetry data points that defines what data is collected and routes it to a destination MQTT topic.
142+
- **Event groups**: A logical container for related discrete events from an asset, such as state changes or alerts, routed to a destination MQTT topic.
143+
- **Management groups**: A logical grouping of read, write, or call actions that can be invoked against an asset.
144+
- **Streams**: A continuous flow of media data, such as video or audio, from an asset such as a camera.
145+
146+
The following table summarizes which data types each connector supports.
147+
148+
| Connector | Datasets | Event groups | Management groups | Streams |
149+
|-----------------|:--------:|:------------:|:-----------------:|:-------:|
150+
| OPC UA | Yes | Yes | Yes | |
151+
| ONVIF | | Yes | Yes | |
152+
| Media | | | | Yes |
153+
| HTTP/REST | Yes | | | |
154+
| SSE | Yes | Yes | | |
155+
| MQTT (preview) | Yes | | Yes | |
156+
139157
#### Discovery
140158

141159
You can use Akri services to automatically discover physical devices and assets. Akri services also help operational technology (OT) users set up devices and assets in the operations experience web UI. The connectors described earlier all use the framework that Akri services provide to implement their core capabilities.

articles/iot/iot-glossary.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: dobett
66
ms.service: azure-iot
77
services: iot
88
ms.topic: conceptual
9-
ms.date: 02/03/2026
9+
ms.date: 03/09/2026
1010
ai-usage: ai-assisted
1111

1212
# Generated from YAML source.
@@ -366,6 +366,18 @@ Casing rules: Always lowercase.
366366

367367
Applies to: Azure IoT Operations
368368

369+
### Dataset
370+
371+
In [Azure IoT Operations](#azure-iot-operations---enabled-by-azure-arc), a dataset is a logical grouping of [data points](#data-point) collected from an [asset](#asset). A dataset defines which telemetry values belong together and how they're routed to a destination MQTT topic. A single asset can have multiple datasets to group telemetry by purpose, such as process monitoring or energy monitoring. Data points can't exist independently outside a dataset.
372+
373+
Connectors that use datasets include OPC UA, REST/HTTP, MQTT, and SSE.
374+
375+
See also [event group](#event-group), [management group](#management-group).
376+
377+
Casing rules: Always lowercase.
378+
379+
Applies to: Azure IoT Operations
380+
369381
### Default component
370382

371383
All [IoT Plug and Play device](#iot-plug-and-play-device) [models](#model) have a default [component](#component). A simple [device model](#device-model) only has a default component - such a model is also known as a no-component [device](#device). A more complex model has multiple components nested below the default component.
@@ -702,6 +714,18 @@ Casing rules: Always lowercase.
702714

703715
Applies to: Azure IoT Operations
704716

717+
### Event group
718+
719+
In [Azure IoT Operations](#azure-iot-operations---enabled-by-azure-arc), an event group is a logical container for related [events](#event-azure-iot-operations) from an [asset](#asset). An event group defines which events belong together and the destination MQTT topic where event data is published. Event groups are the event equivalent of [datasets](#dataset) — events within a group can carry metadata such as trigger time, severity, and sensor ID. Events can't exist independently outside an event group.
720+
721+
Connectors that use event groups include OPC UA, ONVIF, and SSE.
722+
723+
See also [dataset](#dataset), [management group](#management-group).
724+
725+
Casing rules: Always lowercase.
726+
727+
Applies to: Azure IoT Operations
728+
705729
### Event Hubs-compatible endpoint
706730

707731
An [IoT Hub](#iot-hub) [endpoint](#endpoint) that lets you use any Event Hubs-compatible method to read [device](#device) messages sent to the hub. Event Hubs-compatible methods include the [Event Hubs SDKs](../event-hubs/event-hubs-programming-guide.md) and [Azure Stream Analytics](../stream-analytics/stream-analytics-introduction.md).
@@ -1019,6 +1043,18 @@ Applies to: IoT Hub, Device Provisioning Service
10191043

10201044
## M
10211045

1046+
### Management group
1047+
1048+
In [Azure IoT Operations](#azure-iot-operations---enabled-by-azure-arc), a management group is a logical grouping of management actions that can be invoked against an [asset](#asset). Each action has a target URI and an action type: read, write, or call. Management actions can't exist independently outside a management group. Management groups let you organize and secure related control and configuration operations together.
1049+
1050+
Connectors that use management groups include OPC UA, ONVIF, and MQTT.
1051+
1052+
See also [dataset](#dataset), [event group](#event-group).
1053+
1054+
Casing rules: Always lowercase.
1055+
1056+
Applies to: Azure IoT Operations
1057+
10221058
### Model
10231059

10241060
A definition of a type of entity in your physical environment, including its [properties](#properties), telemetries, and [components](#component). Models are used to create [digital twins](#digital-twin) that represent specific physical objects of this type. Models are written in the [Digital Twins Definition Language](#digital-twins-definition-language).

0 commit comments

Comments
 (0)