Resource Provider
- Compute Resource Provider (Microsoft.Compute)
Description of Feature or Work Requested
Azure will now support force-detaching managed data disks from a VM. This feature is supported as part of VM recovery scenarios, when a VM is unresponsive due to unexpected failure in underlying stack, Client can choose to just forcibly detach a data disk to mount it and use with another healthy VM. This feature is supported exclusively only for managed disks [Azure Managed Disks] and on Single instance/ Availability set VMs
The existing Az-CLI cmd az vm disk detach should be updated to support a optional --forceDetach param which internally should set tobeDetached and detachOption property of the disk. Force-detaching a data disk is currently supported only by setting toBeDetached == true and detachOption == 'ForceDetach' on the DataDisk
Additional References:
Minimum API Version Required
2020-12-01
Swagger Link
Target Date
March/April 2021 or the next Az-Cli release which ever is the earliest
Resource Provider
Description of Feature or Work Requested
Azure will now support force-detaching managed data disks from a VM. This feature is supported as part of VM recovery scenarios, when a VM is unresponsive due to unexpected failure in underlying stack, Client can choose to just forcibly detach a data disk to mount it and use with another healthy VM. This feature is supported exclusively only for managed disks [Azure Managed Disks] and on Single instance/ Availability set VMs
The existing Az-CLI cmd az vm disk detach should be updated to support a optional --forceDetach param which internally should set tobeDetached and detachOption property of the disk. Force-detaching a data disk is currently supported only by setting toBeDetached == true and detachOption == 'ForceDetach' on the DataDisk
Additional References:
Minimum API Version Required
2020-12-01Swagger Link
Target Date
March/April 2021 or the next Az-Cli release which ever is the earliest