CmdID

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

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

Options

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