az-vm
Verified for current stable LTS
Az Vm Command: Create Vm
Use for create vm with Az Vm. Exact CLI syntax to create vm using Az Vm.
When to use this: Use for create vm with Az Vm.
Command Syntax
az vm create -g <rg> -n <vm_name> --image <UbuntuLTS> --admin-user <azureuser> --generate-ssh-keys az vm create -g <rg> -n <vm_name> --image <UbuntuLTS> --admin-user <azureuser> --generate-ssh-keys Command Breakdown
-g- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
--image- Command Option
- Tool-specific option used by this command invocation.
--admin-user- Command Option
- Tool-specific option used by this command invocation.
--generate-ssh-keys- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create vm using Az Vm.
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.