CmdID

CmdID / az / az sql / az sql db / az sql db replica

az sql db replica set-primary

Set the primary replica database by failing over from the current primary replica database. Azure CLI reference

3 options Its page in the Azure CLI reference

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

Options

3 in the Azure CLI reference
--database-nameName of the database to fail over.
--resource-group-nameName of the resource group containing the secondary replica that will become the new primary.
--server-nameName of the server containing the secondary replica that will become the new primary.