VMware {code} Community
devta
Contributor
Contributor

C# code (API) for guest customization

Hi,

Is there any code or API for customizing a guest (after it has been deployed from a template ) in VMware servers ?
I am right now developing in C# (ASP/NET).

Reply
0 Kudos
1 Reply
lamw
Community Manager
Community Manager

Yes, you can use the CustomizeVM_Task - http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.VirtualMachine.html#cust... Also, when you deploy from a template, you're really just using the CloneVM_Task - http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.VirtualMachine.html#clon... and within the cloneSpec, there is a section in which you can customize so it can be done in one workflow versus having to call a separate method

The API reference guide has a nice search functionality and 9 out 10 times, if you search for a few key words you'll find the methods you'll need to use - http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/index.html

Reply
0 Kudos