Related command
az vm repair create
Is your feature request related to a problem? Please describe.
When trying to create a repair Virtual Machine using az vm repair create, the user is prompted with "Does repair vm requires public ip? (y/n)". This manual intervention makes scripting this difficult. The two parameters "--associate-public-ip" and "--yes" appear to do the same thing, bypass the prompt and deploy a VM with a Public IP. There should be a parameter that would create the repair VM without a public IP so that the user doesn't get prompted for manual input, allowing for more functionality when scripting the command. Without the manual intervention, the output of the command could be stored in a variable.
Describe the solution you'd like
A good solution would be if you could run something like this:
az vm repair create -g MyResourceGroup -n MyVMName --associate-public-ip false
Currently that command would throw the following error: "unrecognized arguments: false"
Describe alternatives you've considered
After looking through documentation it doesn't look like there is an equivalent command in the AZ PowerShell Module.
Related command
az vm repair create
Is your feature request related to a problem? Please describe.
When trying to create a repair Virtual Machine using az vm repair create, the user is prompted with "Does repair vm requires public ip? (y/n)". This manual intervention makes scripting this difficult. The two parameters "--associate-public-ip" and "--yes" appear to do the same thing, bypass the prompt and deploy a VM with a Public IP. There should be a parameter that would create the repair VM without a public IP so that the user doesn't get prompted for manual input, allowing for more functionality when scripting the command. Without the manual intervention, the output of the command could be stored in a variable.
Describe the solution you'd like
A good solution would be if you could run something like this:
az vm repair create -g MyResourceGroup -n MyVMName --associate-public-ip false
Currently that command would throw the following error: "unrecognized arguments: false"
Describe alternatives you've considered
After looking through documentation it doesn't look like there is an equivalent command in the AZ PowerShell Module.