Skip to content

Commit a78cfad

Browse files
committed
Add code snippets
1 parent f884daa commit a78cfad

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,12 @@
11291129
"url": "https://github.com/MicrosoftDocs/azure-reference-other-pr",
11301130
"branch": "main",
11311131
"branch_mapping": {}
1132+
},
1133+
{
1134+
"path_to_root": "azure-iot-operations-samples",
1135+
"url": "https://github.com/Azure-Samples/explore-iot-operations",
1136+
"branch": "main",
1137+
"branch_mapping": {}
11321138
}
11331139
],
11341140
"branch_target_mapping": {

articles/iot-operations/get-started/quickstart-add-assets.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ To enable the asset endpoint to use an untrusted certificate:
8383
kubectl apply -f https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/opc-ua-connector-0.yaml
8484
```
8585

86+
The following snippet shows the YAML file that you applied:
87+
88+
:::code language="yaml" source="~/azure-iot-operations-samples/samples/quickstarts/opc-ua-connector-0.yaml":::
89+
8690
1. Find the name of your `aio-opc-supervisor` pod by using the following command:
8791

8892
```console
@@ -163,6 +167,10 @@ To verify data is flowing from your assets by using the **mqttui** tool. In this
163167
kubectl apply -f https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/mqtt-client.yaml
164168
```
165169

170+
The following snippet shows the YAML file that you applied:
171+
172+
:::code language="yaml" source="~/azure-iot-operations-samples/samples/quickstarts/mqtt-client.yaml":::
173+
166174
> [!CAUTION]
167175
> This configuration isn't secure. Don't use this configuration in a production environment.
168176

@@ -247,6 +255,10 @@ On the machine where your Kubernetes cluster is running, run the following comma
247255
kubectl apply -f https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/akri-opcua-asset.yaml
248256
```
249257

258+
The following snippet shows the YAML file that you applied:
259+
260+
:::code language="yaml" source="~/azure-iot-operations-samples/samples/quickstarts/akri-opcua-asset.yaml":::
261+
250262
To verify the configuration, run the following command to view the Akri instances that represent the OPC UA data sources discovered by Akri:
251263

252264
```console

0 commit comments

Comments
 (0)