@@ -64,7 +64,7 @@ mosquitto_pub --host aio-broker --port 18883 --message "hello" --topic "world" -
6464
6565The output should look similar to the following example:
6666
67- ``` Output
67+ ``` output
6868Client (null) sending CONNECT
6969Client (null) received CONNACK (0)
7070Client (null) sending PUBLISH (d0, q0, r0, m1, 'world', ... (5 bytes))
@@ -88,7 +88,7 @@ mosquitto_sub --host aio-broker --port 18883 --topic "world" --debug --cafile /v
8888
8989The output should look similar to the following example:
9090
91- ``` Output
91+ ``` output
9292Client (null) sending CONNECT
9393Client (null) received CONNACK (0)
9494Client (null) sending SUBSCRIBE (Mid: 1, Topic: world, QoS: 0, Options: 0x00)
@@ -305,6 +305,14 @@ For example, to create a new broker listener with the `LoadBalancer` service typ
3053051 . Select ** Create** to create the listener.
3063061 . Select ** Create** to create the listener.
307307
308+ # [ CLI] ( #tab/cli )
309+
310+ To create a new broker listener with service type ` LoadBalancer ` , use the following Azure CLI command.
311+
312+ ``` azurecli
313+ az iot ops broker listener port add --port 1883 --listener newlistener --in myinstance -g mygroup
314+ ```
315+
308316# [ Bicep] ( #tab/bicep )
309317
310318> [ !CAUTION]
@@ -514,6 +522,14 @@ The reason that the MQTT broker uses TLS and service accounts authentication by
514522
5155231. Select ** Create** to create the listener.
516524
525+ # [CLI](#tab/cli)
526+
527+ Use the following Azure CLI command to add or replace an existing listener port. Provide values that reflect the terminal resource state:
528+
529+ ` ` ` azurecli
530+ az iot ops broker listener port add --port 1883 --listener newlistener --in myinstance -g mygroup
531+ ` ` `
532+
517533# [Bicep](#tab/bicep)
518534
519535> [! CAUTION]
0 commit comments