CmdID / az / az webpubsub / az webpubsub replica
az webpubsub replica update
Update a replica of Webpubsub Service. Azure CLI extensions reference
2 examples 4 options Its page in the Azure CLI extensions reference
Examples
Enable or disable region endpoint for the replica of WebPubSub Service
az webpubsub replica update --replica-name MyReplica --name MyWebPubSub -g MyResourceGroup --region-endpoint-enabled trueIdentify--replica-nameName of the replica.--nameName of the webpubsub.-gName of resource group.--region-endpoint-enabledEnable or disable region endpoint for a WebPubSub ServiceUpdate the unit count of the replica of WebPubSub Service
az webpubsub replica update --replica-name MyReplica --name MyWebPubSub -g MyResourceGroup --unit-count 2Identify--replica-nameName of the replica.--nameName of the webpubsub.-gName of resource group.--unit-countThe number of webpubsub service unit countOptions
--name, -nName of the webpubsub.--region-endpoint-enabledEnable or disable region endpoint for a WebPubSub Service--replica-nameName of the replica.--unit-countThe number of webpubsub service unit count