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-manage-assets-remotely.md
+18-37Lines changed: 18 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Use the operations experience web UI or the Azure CLI to manage you
4
4
author: dominicbetts
5
5
ms.author: dobett
6
6
ms.topic: how-to
7
-
ms.date: 03/01/2024
7
+
ms.date: 07/23/2024
8
8
ms.custom:
9
9
- ignite-2023
10
10
- devx-track-azurecli
@@ -75,7 +75,7 @@ az login
75
75
76
76
## Create an asset endpoint
77
77
78
-
By default, an Azure IoT Operations deployment includes a built-in OPC PLC simulator. To create an asset endpoint that uses the built-in OPC PLC simulator:
78
+
An Azure IoT Operations deployment can include an optional built-in OPC PLC simulator. To create an asset endpoint that uses the built-in OPC PLC simulator:
79
79
80
80
# [Operations experience](#tab/portal)
81
81
@@ -93,7 +93,6 @@ By default, an Azure IoT Operations deployment includes a built-in OPC PLC simul
93
93
| Name |`opc-ua-connector-0`|
94
94
| Connector for OPC UA URL |`opc.tcp://opcplc-000000:50000`|
95
95
| User authentication |`Anonymous`|
96
-
| Transport authentication |`Do not use transport authentication certificate`|
97
96
98
97
1. To save the definition, select **Create**.
99
98
@@ -120,12 +119,12 @@ When the OPC PLC simulator is running, data flows from the simulator, to the con
120
119
121
120
The previous example uses the `Anonymous` authentication mode. This mode doesn't require a username or password.
122
121
123
-
# [Operations experience](#tab/portal)
124
-
125
122
To use the `UsernamePassword` authentication mode, complete the following steps:
126
123
124
+
# [Operations experience](#tab/portal)
125
+
127
126
1. Follow the steps in [Configure OPC UA user authentication with username and password](howto-configure-opcua-authentication-options.md#configure-username-and-password-authentication) to add secrets for username and password in Azure Key Vault, and project them into Kubernetes cluster.
128
-
2. In the operations experience, select **Username & password** for the **User authentication** field to configure the asset endpoint to use these secrets. Then enter the following values for the **Username reference** and **Password reference** fields:
127
+
2. In the operations experience, select **Username password** for the **User authentication** field to configure the asset endpoint to use these secrets. Then enter the following values for the **Username reference** and **Password reference** fields:
129
128
130
129
| Field | Value |
131
130
| --- | --- |
@@ -134,8 +133,6 @@ To use the `UsernamePassword` authentication mode, complete the following steps:
134
133
135
134
# [Azure CLI](#tab/cli)
136
135
137
-
To use the `UsernamePassword` authentication mode, complete the following steps:
138
-
139
136
1. Follow the steps in [Configure OPC UA user authentication with username and password](howto-configure-opcua-authentication-options.md#configure-username-and-password-authentication) to add secrets for username and password in Azure Key Vault, and project them into Kubernetes cluster.
140
137
141
138
1. Use a command like the following example to create your asset endpoint:
@@ -146,29 +143,6 @@ To use the `UsernamePassword` authentication mode, complete the following steps:
146
143
147
144
---
148
145
149
-
### Configure an asset endpoint to use a transport authentication certificate
150
-
151
-
To configure the asset endpoint to use a transport authentication certificate, complete the following steps:
152
-
153
-
# [Operations experience](#tab/portal)
154
-
155
-
1. Follow the steps in [configure mutual trust](howto-configure-opcua-certificates-infrastructure.md#configure-the-trusted-certificates-list) to add a transport certificate and private key to Azure Key Vault, and project them into Kubernetes cluster.
156
-
2. In the operations experience, select **Use transport authentication certificate** for the **Transport authentication** field and enter the certificate thumbprint.
157
-
158
-
# [Azure CLI](#tab/cli)
159
-
160
-
1. Follow the steps in [configure mutual trust](howto-configure-opcua-certificates-infrastructure.md#configure-the-trusted-certificates-list) to add a transport certificate and private key to Azure Key Vault, and project them into Kubernetes cluster.
161
-
162
-
1. Use a command like the following example to create your asset endpoint:
To learn more, see [az iot ops asset](/cli/azure/iot/ops/asset).
169
-
170
-
---
171
-
172
146
## Add an asset, tags, and events
173
147
174
148
# [Operations experience](#tab/portal)
@@ -182,15 +156,14 @@ To add an asset in the operations experience:
182
156
> [!TIP]
183
157
> You can use the filter box to search for assets.
184
158
185
-
Select **Create asset**.
159
+
1. Select **Create asset**.
186
160
187
161
1. On the asset details screen, enter the following asset information:
188
162
189
-
- Asset name
190
163
- Asset endpoint. Select your asset endpoint from the list.
164
+
- Asset name
191
165
- Description
192
166
193
-
194
167
1. Configure the set of properties that you want to associate with the asset. You can accept the default list of properties or add your own. The following properties are available by default:
195
168
196
169
- Manufacturer
@@ -203,6 +176,7 @@ To add an asset in the operations experience:
203
176
- Documentation URI
204
177
205
178
:::image type="content" source="media/howto-manage-assets-remotely/create-asset-details.png" alt-text="Screenshot that shows how to add asset details in the operations experience.":::
179
+
206
180
1. Select **Next** to go to the **Add tags** page.
207
181
208
182
### Add individual tags to an asset
@@ -312,9 +286,6 @@ Now you can define the events associated with the asset. To add OPC UA events:
312
286
- Event name (Optional). This value is the friendly name that you want to use for the event. If you don't specify an event name, the event notifier is used as the event name.
313
287
- Observability mode (Optional) with following choices:
314
288
- None
315
-
- Gauge
316
-
- Counter
317
-
- Histogram
318
289
- Log
319
290
- Queue size. You can override the default value for this tag.
320
291
@@ -452,6 +423,16 @@ Whenever you make a change to asset in the operations experience, you see a noti
452
423
453
424
:::image type="content" source="media/howto-manage-assets-remotely/portal-notifications.png" alt-text="A screenshot that shows the notifications in the operations experience.":::
454
425
426
+
## View activity logs
427
+
428
+
In the operations experience, you can view activity logs for each instance or each resource in an instance.
429
+
430
+
To view activity logs at the instance level, select the **Activity logs** tab. You can use the **Timespan** and **Resource type** filters to customize the view.
431
+
432
+
:::image type="content" source="./media/howto-manage-assets-remotely/view-instance-activity-logs.png" alt-text="A screenshot that shows the activity logs for an instance in the operations experience.":::
433
+
434
+
To view activity logs as the resource level, select the resource that you want to inspect. This resource can be an asset, asset endpoint, or data pipeline. In the resource overview, select **View activity logs**. You can use the **Timespan** filter to customize the view.
435
+
455
436
## Related content
456
437
457
438
-[Connector for OPC UA overview](overview-opcua-broker.md)
Copy file name to clipboardExpand all lines: articles/iot-operations/get-started-end-to-end-sample/quickstart-add-assets.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: dobett
6
6
ms.topic: quickstart
7
7
ms.custom:
8
8
- ignite-2023
9
-
ms.date: 02/19/2024
9
+
ms.date: 07/23/2024
10
10
11
11
#CustomerIntent: As an OT user, I want to create assets in Azure IoT Operations so that I can subscribe to asset data points, and then process the data before I send it to the cloud.
12
12
---
@@ -25,7 +25,7 @@ In this quickstart, you use the operations experience web UI to create your asse
25
25
26
26
## Prerequisites
27
27
28
-
Complete [Quickstart: Run Azure IoT Operations Preview in Github Codespaces with K3s](quickstart-deploy.md) before you begin this quickstart.
28
+
Complete [Quickstart: Run Azure IoT Operations Preview in GitHub Codespaces with K3s](quickstart-deploy.md) before you begin this quickstart.
29
29
30
30
To sign in to the operations experience, you need a work or school account in the tenant where you deployed Azure IoT Operations. If you're currently using a Microsoft account (MSA), you need to create a Microsoft Entra ID with at least contributor permissions for the resource group that contains your **Kubernetes - Azure Arc** instance. To learn more, see [Known Issues > Create Entra account](../troubleshoot/known-issues.md#known-issues-azure-iot-operations-preview).
31
31
@@ -57,7 +57,7 @@ Select the instance where you deployed Azure IoT Operations in the previous quic
57
57
58
58
## Add an asset endpoint
59
59
60
-
When you deployed Azure IoT Operations, you chose to include a built-in OPC PLC simulator. In this step, you add an asset endpoint that enables you to connect to the OPC PLC simulator.
60
+
When you deployed Azure IoT Operations in the previous article, you included a built-in OPC PLC simulator. In this step, you add an asset endpoint that enables you to connect to the OPC PLC simulator.
61
61
62
62
To add an asset endpoint:
63
63
@@ -72,7 +72,6 @@ To add an asset endpoint:
72
72
| Asset endpoint name |`opc-ua-connector-0`|
73
73
| OPC UA server URL |`opc.tcp://opcplc-000000:50000`|
74
74
| User authentication mode |`Anonymous`|
75
-
| Transport authentication |`Do not use transport authentication certificate`|
76
75
77
76
1. To save the definition, select **Create**.
78
77
@@ -131,8 +130,8 @@ To create an asset, select **Create asset**. Then enter the following asset info
131
130
132
131
| Field | Value |
133
132
| --- | --- |
134
-
| Asset name |`thermostat`|
135
133
| Asset Endpoint |`opc-ua-connector-0`|
134
+
| Asset name |`thermostat`|
136
135
| Description |`A simulated thermostat asset`|
137
136
138
137
Remove the existing **Custom properties** and add the following custom properties. Be careful to use the exact property names, as the Power BI template in a later quickstart queries for them:
@@ -160,7 +159,7 @@ Add two OPC UA tags on the **Add tags** page. To add each tag, select **Add tag
160
159
161
160
The **Observability mode** is one of the following values: `none`, `gauge`, `counter`, `histogram`, or `log`.
162
161
163
-
You can override the default sampling interval and queue size for each tag.
162
+
You can select **Manage default settings** to change the default sampling interval and queue size for each tag.
164
163
165
164
:::image type="content" source="media/quickstart-add-assets/add-tag.png" alt-text="Screenshot of Azure IoT Operations add tag page.":::
0 commit comments