CmdID / az / az migrate / az migrate local / az migrate local replication
az migrate local replication list
List all protected items (replicating servers) in a project. Azure CLI extensions reference
Lists all servers that have replication enabled in an Azure Migrate project. This command shows the replication status, health, and configuration details for each protected server.
The command returns information including: - Protection state (e.g., Protected, ProtectedReplicating, EnablingFailed) - Replication health (Normal, Warning, Critical) - Source machine name and target VM name - Replication policy name - Resource IDs (used for remove command) - Health errors if any
Note: This command uses a preview API version and may experience breaking changes in future releases.
2 examples 3 options Its page in the Azure CLI extensions reference
Examples
List all replicating servers in a project
az migrate local replication list --resource-group myRG --project-name myMigrateProjectIdentify--resource-groupResource group containing the Azure Migrate project.--project-nameName of the Azure Migrate project.List replicating servers with a specific subscription
az migrate local replication list --resource-group myRG --project-name myMigrateProject --subscription-id 00000000-0000-0000-0000-000000000000Identify--resource-groupResource group containing the Azure Migrate project.--project-nameName of the Azure Migrate project.--subscription-idAzure subscription ID.Options
--project-nameName of the Azure Migrate project.--resource-group, -gResource group containing the Azure Migrate project.--subscription-idAzure subscription ID.