List VMs
List the virtual machines of the subscription, or of one resource group, with their size, location and tags.
Command in the Azure VMs toolkit · id ooa.azure_vm/list_vms · 3 inputs, 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | azure | Name of the session opened by Connect. |
| Resource group | String | No | Only this resource group. Leave empty for the whole subscription. | |
| Maximum results | Number | No | 1000 | Stop after this many virtual machines. |
Outputs
| Output | Type | What it is |
|---|---|---|
| vms | Table | Columns: name, resource_group, location, vm_size, os_type, provisioning_state, vm_id, id, tags. |
| names | List | The names of the virtual machines found. |
| count | Number | How many virtual machines were found. |