It has the following command:
Disable-AzVMDiskEncryption -ResourceGroupName 'MyVirtualMachineResourceGroup' -VMName 'MySecureVM' [--volume-type {ALL, DATA, OS}]
It has to be this other one instead:
Disable-AzVMDiskEncryption -ResourceGroupName 'MyVirtualMachineResourceGroup' -VMName 'MySecureVM' [-VolumeType {ALL, DATA, OS}]
In Powershell is needs -VolumeType not --volume-type (This is AZ CLI)
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@dtec83
Thanks for your feedback! We will investigate and update as appropriate.
Thanks for catching this! I've created a pull request which should go live in 24 hours. https://github.com/MicrosoftDocs/azure-docs-pr/pull/77336