az-disk
Verified for current stable LTS
Az Disk Command: Delete Disk
Use for delete disk with Az Disk. Exact CLI syntax to delete disk using Az Disk.
When to use this: Use for delete disk with Az Disk.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
az disk delete -g <resource_group> -n <disk_name> az disk delete -g <resource_group> -n <disk_name> Command Breakdown
-g- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete disk using Az Disk.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Az Disk Command: Create
az disk create -g <resource_group> -n <disk_name> -z <size_in_gb> Az Disk Command: List az disk list -g <resource_group> Az Disk Command: Delete az disk delete -g <resource_group> -n <disk_name> Az Disk Command: Grant Access az disk grant-access -g <resource_group> -n <disk_name> --access <Read|Write> --duration-in-seconds <seconds> Az Disk Command: Update az disk update -g <resource_group> -n <disk_name> -z <new_size_in_gb>