CmdID / az / az vm / az vm repair
az vm repair repair-button
repair button script. Azure CLI extensions reference
11 options Its page in the Azure CLI extensions reference
Options
--button-commandButton_command for repair VM.--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.--sizeThe size of the repair VM to create.--tagsSpace-separated tags in 'key[=value]' format.--yesDeprecated - Creates the repair VM without confirmation.