ESXI Import via API

Imran Hussain

New Member
Jul 29, 2024
1
0
1
Hello Proxmox team,

Is there any documentation available for what is explained on the VMWare ESXI VM import via wizzard (https://pve.proxmox.com/wiki/Migrate_to_Proxmox_VE#Automatic_Import_of_Full_VM) corresponding to corresponding APIs? We are trying to automate our ESXI users to onboard to Proxmox via automation which can be achieved via APIs instead of going through the wizzard which is interactive. Or is this being planned in PVE 8.3? If so any timelines for the new release (8.3) version?

Thanks in advance
Imran
 
Hi,

everything the GUI does is done via the API, importing included

first the gui checks this api endpoint:

https://pve.proxmox.com/pve-docs/ap...odes/{node}/storage/{storage}/import-metadata

which returns some metadata about the import. It then calculates some values on the frontend (mostly mapping stuff when it's windows etc.)
and then it calls POST on
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu

which simply creates a VM

the only "special" thing we have here is that we use the 'import-from=<source volume>' syntax for the new volumes that then imports the data from esxi
 
Last edited: