Quick Actions
az vm create
Description
Create an Azure Virtual Machine.
Command
az vm create
Examples
Create a default Ubuntu VM
Create a Windows Server 2019 VM
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
-n, --name <name> |
string | No | Name of the virtual machine. |
-g, --resource-group <name> |
string | No | Name of resource group. |
--image <URN> |
string | No | The name of the image to create the VM from (e.g., UbuntuLTS, Win2019Datacenter). |
--admin-username <username> |
string | No | User name for the virtual machine. |
Command Info
Category:
Virtual Machine
Type:
Azure
Views:
1
Status:
Active
Tags
azure
vm
compute
create