az-image Verified for current stable LTS

Az Image Command: Create Image

Use for create image with Az Image. Exact CLI syntax to create image using Az Image.

When to use this: Use for create image with Az Image.

Command Syntax

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 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

Back to Az Image directory