Quick Actions
az vm list
Description
Get the details of the virtual machines.
Command
az vm list
Examples
List all VMs in the default subscription
List VMs in a specific resource group and show details
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
--resource-group <name> |
string | No | Name of resource group. |
--show-details |
string | No | Show detail information of a VM, such as power states and IPs. |
-o, --output <format> |
string | No | Output format. |
Command Info
Category:
Virtual Machine
Type:
Azure
Views:
1
Status:
Active
Tags
azure
vm
compute
list