CmdID

CmdID / az / az vm / az vm repair

az vm repair repair-and-restore

Repair and restore the VM. Azure CLI extensions reference

12 options Its page in the Azure CLI extensions reference

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

Options

12 in the Azure CLI extensions reference
--cmdCommand object that is used to execute Azure CLI commands.
--copy-disk-nameName of OS disk copy.
--copy-tagsCopy tags from the source VM to the repair VM and its resources.
--no-cleanup, --noKeeps the repair resources instead of deleting them, including when the repair script fails.
--repair-group-nameName for new or existing resource group that will contain repair VM.
--repair-passwordAdmin password for the repair VM.
--repair-usernameAdmin username for repair VM.
--repair-vm-nameName of repair VM.
--resource-group-nameThe name of the resource group in which the targeted VM is located.
--sizeThe size of the repair VM to create.
--tagsSpace-separated tags in 'key[=value]' format.
--vm-nameThe name of the VM that is targeted for repair.