CmdID / az / az vm / az vm repair
az vm repair create
Create a new repair VM and attach the source VM's copied OS disk as a data disk. Azure CLI extensions reference
17 options Its page in the Azure CLI extensions reference
Options
--associate-public-ipOption to create a repair vm with a public ip.--copy-disk-nameName of OS disk copy.--copy-tagsCopy tags from the source VM to the repair VM and its resources.--disable-trusted-launchOption to disable Trusted Launch security type on the repair vm by setting the security type to Standard.--disk-controller-typeDisk controller type for the repair VM (SCSI or NVMe).--distroOption to create repair vm from a specific linux distro (rhel7|rhel8|sles12|sles15|ubuntu20|centos7|centos8|oracle7)--enable-nestedenable nested hyperv.--encrypt-recovery-keyOption to auto-unlock encrypted VMs using provided recovery password.--os-disk-typeChange the OS Disk storage type from the default of PremiumSSD_LRS to the given value.--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.--tagsQuoted string with space-separated key-value pairs in "key=value" format.--unlock-encrypted-vmOption to auto-unlock encrypted VMs using current subscription auth.--yesDeprecated - Creates the repair VM without confirmation.