VMware {code} Community
atoka
Contributor
Contributor

How to saving/export VM's configuration?

I have a requirement to create a new VM(different location) using exactly the same configurations as of existing VM. I have copy of its virtual disks and so I am only interested in VM's configurations. If possible I want to store the existing VM's configurations information in my database and later use it for re-creating new VM.

I can use VirtualMachineConfigInfo data object to get all VM's configurations, but there are too many properties.

I have following questions:

  1. What are the minimum set of VM's configuration that is needed to re-create a VM ? Or do I need all the properties?

  2. Is a there way to export VM's configuration which I can use to re-create the VM later?

Thanks.

0 Kudos
2 Replies
_vladi_
VMware Employee
VMware Employee

Hi,

This forum is for vSphere Client SDK questions while you are interested in Web Services APIs.

I believe you can get answers on this topic on the vSphere Management SDK forum.

Cheers,

Vladi

0 Kudos
atoka
Contributor
Contributor

Thank you for pointing that out. I should be using Management SDK forum this question.

I have re-posted it on Management SDK forum

How to saving/export VM's configuration?

0 Kudos