az-disk
Verified for current stable LTS
Az Disk Command: Create Disk
Use for create disk with Az Disk. Exact CLI syntax to create disk using Az Disk.
When to use this: Use for create disk with Az Disk.
Command Syntax
az disk create -g <resource_group> -n <disk_name> -z <size_in_gb> az disk create -g <resource_group> -n <disk_name> -z <size_in_gb> Command Breakdown
-g- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
-z- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create 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: Create Managed Disk az disk create -g <resource_group> -n <disk_name> -z <size_in_gb> Az Disk Command: Delete az disk delete -g <resource_group> -n <disk_name> Az Disk Command: Delete Disk az disk delete -g <resource_group> -n <disk_name> Az Disk Command: Delete Managed Disk az disk delete -g <resource_group> -n <disk_name>