Azure / azure-cli

Azure Command-Line Interface
MIT License
4.01k stars 2.98k forks source link

Documentation for "az vm delete --force-deletion" is incorrect #25352

Open Xoere opened 1 year ago

Xoere commented 1 year ago

The CLI command for force-deletion does not work. Example given: az vm delete --resource-group myResourceGroup --name myVM --force-deletion

This gives an error: argument --force-deletion: expected one argument

This command works: az vm delete --resource-group myResourceGroup --name myVM --force-deletion none


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

yonzhan commented 1 year ago

@zhoxing-ms for awareness

maruel commented 8 months ago

Why is it "none" instead of "true"?