az-image
Verified for current stable LTS
Az Image Command: Delete Custom Image
Use for delete custom image with Az Image. Exact CLI syntax to delete custom image using Az Image.
When to use this: Use for delete custom image with Az Image.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
az image delete -n <name> -g <resource_group> az image delete -n <name> -g <resource_group> Command Breakdown
-n- Command Option
- Tool-specific option used by this command invocation.
-g- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to delete custom image using Az Image.
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 Image Command: Create Custom Image From Disk Or Snapshot
az image create -g <resource_group> -n <name> --os-type <windows|linux> --source <os_disk_source> Az Image Command: Create Custom Image From Disks Or Snapshots az image create -g <resource_group> -n <name> --os-type <windows|linux> --source <os_disk_source> Az Image Command: Create Image az image create -g <resource_group> -n <name> --os-type <windows|linux> --source <os_disk_source> Az Image Command: Delete Image az image delete -n <name> -g <resource_group> Az Image Command: List Custom Images Resource Group az image list -g <resource_group>