CmdID

CmdID / az / az vm / az vm disk

az vm disk detach

Detach a managed disk from a VM. Azure CLI reference

3 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

3 in the Azure CLI reference
--disk-idsThe disk IDs of the managed disk (space-delimited).
--force-detachForce detach managed data disks from a VM.
--name, -nThe data disk name.