CmdID

CmdID / az / az mariadb / az mariadb server / az mariadb server replica

az mariadb server replica create

Create a read replica for a server. Azure CLI reference

2 examples Its page in the Azure CLI 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

Create a read replica 'testreplsvr' for 'testsvr'.

az mariadb server replica create -n testreplsvr -g testgroup -s testsvrIdentify
-gName of resource group.

Create a read replica 'testreplsvr' for 'testsvr2', where 'testreplsvr' is in a different resource group.

az mariadb server replica create -n testreplsvr -g testgroup -s "/subscriptions/${SubID}/resourceGroups/${ResourceGroup}/providers/Microsoft.DBforMariaDB/servers/testsvr2"Identify
-gName of resource group.