Skip to content

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

@Xoere

Description

@Xoere

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.

  • ID: 152b549b-d4b3-13e5-081c-c604b6e4d89e
  • Version Independent ID: 3f79be78-ce75-ad31-304b-bad7d475ec9e
  • Content: az vm
  • Content Source: latest/docs-ref-autogen/vm.yml
  • Service: virtual-machines
  • GitHub Login: @rloutlaw
  • Microsoft Alias: routlaw

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions