CmdID

CmdID / az / az vm / az vm repair

az vm repair restore

Replace source VM's OS disk with data disk from repair VM. Azure CLI extensions reference

4 options Its page in the Azure CLI extensions reference

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

Options

4 in the Azure CLI extensions reference
--disk-nameName of fixed data disk.
--no-cleanup, --noKeeps the repair resources without confirmation.
--repair-vm-idRepair VM resource id.
--yesDeletes the repair resources without confirmation.