CmdID / az / az mysql / az mysql flexible-server / az mysql flexible-server replica
az mysql flexible-server replica stop-replication
Stop replication to a read replica and make it a read/write server. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--name, -nName of the server.