az-image
Verified for current stable LTS
Az Image Command: Create Custom Image From Disks Or Snapshots
Use for create custom image from disks or snapshots with Az Image. Exact CLI syntax to create custom image from disks or snapshots using Az Image.
When to use this: Use for create custom image from disks or snapshots with Az Image.
Command Syntax
az image create -g <resource_group> -n <name> --os-type <windows|linux> --source <os_disk_source> az image create -g <resource_group> -n <name> --os-type <windows|linux> --source <os_disk_source> Command Breakdown
-g- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
--os-type- Command Option
- Tool-specific option used by this command invocation.
--source- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create custom image from disks or snapshots 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: Delete Image
az image delete -n <name> -g <resource_group> Az Image Command: Show Image Details az image show -n <name> -g <resource_group> Az Image Command: List Images az image list -g <resource_group> Az Image Command: Create Image az image create -g <resource_group> -n <name> --os-type <windows|linux> --source <os_disk_source> Az Image Command: Update Image az image update -n <name> -g <resource_group> --set <property=value>