CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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 Service

Update 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 count

Options

4 in the Azure CLI extensions reference
--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