CmdID / az / az documentdb / az documentdb mongocluster / az documentdb mongocluster replica
az documentdb mongocluster replica promote
Promotes a replica mongo cluster to a primary role. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--modeThe mode to apply to the promote operation.--name, -nThe name of the replica to promote.--promote-optionThe promote option to apply to the operation.