CmdID / az / az monitor / az monitor log-analytics / az monitor log-analytics workspace
az monitor log-analytics workspace failover
Activates failover for the specified workspace.The specified replication location must match the location of the enabled replication for this workspace.The failover operation is asynchronous and can take up to 30 minutes to complete.The status of the operation can be checked using the operationId returned in the response. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--workspace-name, --nameThe name of the workspace.