CmdID

CmdID / az / az sql / az sql midb / az sql midb copy

az sql midb copy cancel

Cancel managed database copy operation. Azure CLI reference

3 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

Cancel cross subscription copy operation.

az sql midb copy cancel --name mydb --resource-group MyResourceGroup --managed-instance MyInstance --dest-mi DestinationInstance --dest-rg DestinationResourceGroup --dest-sub-id DestinationSubscriptionIdIdentify
--nameThe name of the Azure SQL Managed Database.
--resource-groupName of resource group.
--managed-instanceName of the Azure SQL Managed Instance.
--dest-miName of the managed instance to copy the managed database to.
--dest-rgName of the resource group to copy the managed database to.
--dest-sub-idId of the subscription to move the managed database to.

Cancel cross resource group copy operation.

az sql midb copy cancel --name mydb --resource-group MyResourceGroup --managed-instance MyInstance --dest-mi DestinationInstance --dest-rg DestinationResourceGroupIdentify
--nameThe name of the Azure SQL Managed Database.
--resource-groupName of resource group.
--managed-instanceName of the Azure SQL Managed Instance.
--dest-miName of the managed instance to copy the managed database to.
--dest-rgName of the resource group to copy the managed database to.

Cancel copy operation inside same resource group.

az sql midb copy cancel --name mydb --resource-group MyResourceGroup --managed-instance MyInstance --dest-mi DestinationInstanceIdentify
--nameThe name of the Azure SQL Managed Database.
--resource-groupName of resource group.
--managed-instanceName of the Azure SQL Managed Instance.
--dest-miName of the managed instance to copy the managed database to.