CmdID / az / az webpubsub / az webpubsub service
az webpubsub service broadcast
Broadcast messages to hub. Azure CLI extensions reference
1 example 1 option Its page in the Azure CLI extensions reference
Examples
Send a message to hub
az webpubsub service broadcast -n MyWebPubSub -g MyResourceGroup --hub-name MyHub --payload MyPayloadIdentify-nName of the webpubsub.-gName of resource group.--hub-nameThe hub to manage.--payloadA string payload to send.Options
--payloadA string payload to send.