CmdID / az / az mysql / az mysql flexible-server / az mysql flexible-server replica
az mysql flexible-server replica create
Create a read replica for a server. Azure CLI reference
17 options Its page in the Azure CLI reference
Options
--backup-retentionThe number of days a backup is retained.--database-portThe port of the database.--faster-provisioningEnable or disable Auto scale IOPS configuration for both the source and the newly provisioned replica server to enable faster provisioning.--geo-redundant-backupWhether or not geo redundant backup is enabled.--iopsNumber of IOPS to be allocated for this server.--location, -lLocation.--private-dns-zoneThis parameter only applies if you are creating cross region replica server with private access.--public-accessDetermines the public access.--replica-nameThe name of the server to restore to.--sku-nameThe name of the compute SKU.--source-serverThe name or resource ID of the source server to restore from.--storage-sizeThe storage capacity of the server.--subnetName or resource ID of a new or existing subnet.--tagsspace-separated tags: key[=value] [key[=value] ...].--tierCompute tier of the server.--vnetName or ID of a new or existing virtual network.--zone, -zAvailability zone into which to provision the resource.