2025-09-14 18:48:49 -06:00
|
|
|
# pvesh
|
|
|
|
|
|
|
|
|
|
> Interface with the Proxmox VE API.
|
|
|
|
|
> More information: <https://pve.proxmox.com/pve-docs/pvesh.1.html>.
|
|
|
|
|
|
|
|
|
|
- List available nodes:
|
|
|
|
|
|
|
|
|
|
`pvesh {{[g|get]}} /nodes`
|
|
|
|
|
|
|
|
|
|
- Display detailed information about containers or virtual machines:
|
|
|
|
|
|
|
|
|
|
`pvesh {{[g|get]}} /nodes/{{node_name}}/{{lxc|qemu}}`
|
|
|
|
|
|
|
|
|
|
- Discover API paths:
|
|
|
|
|
|
|
|
|
|
`pvesh {{[l|ls]}} {{/}}`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Display API path usage instructions:
|
|
|
|
|
|
|
|
|
|
`pvesh {{[u|usage]}} {{/pools}}`
|
|
|
|
|
|
|
|
|
|
- Add a new thinpool to Proxmox:
|
|
|
|
|
|
|
|
|
|
`pvesh create /storage --storage {{storage_id}} --vgname {{volume_group}} --type lvmthin --thinpool {{thinpool_name}} --content {{content_type1,content_type2,...}}`
|