VMware {code} Community
ahe
Contributor
Contributor
Jump to solution

How to get the virtual machine configuration, Please give me some ideas

  How to get the virtual machine configuration, Please give me some ideas

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
JCMorrissey
Expert
Expert
Jump to solution

Hi,

Take a look at

For general VM operations

https://docs.google.com/viewer?a=v&q=cache:F3tEld7LNv0J:communities.vmware.com/servlet/JiveServlet/d...

For advanced VM settings:

http://blogs.vmware.com/vsphere/2012/03/acessing-virtual-machine-advanced-settings.html

Other general SDK settings:

http://vsphere-land.com/vsphere-links/scripting-links-2.html

Many tx

Please consider marking as "helpful", if you find this post useful. Thanks!... http://johncmorrissey.wordpress.com/

View solution in original post

0 Kudos
4 Replies
JCMorrissey
Expert
Expert
Jump to solution

Hi,

Take a look at

For general VM operations

https://docs.google.com/viewer?a=v&q=cache:F3tEld7LNv0J:communities.vmware.com/servlet/JiveServlet/d...

For advanced VM settings:

http://blogs.vmware.com/vsphere/2012/03/acessing-virtual-machine-advanced-settings.html

Other general SDK settings:

http://vsphere-land.com/vsphere-links/scripting-links-2.html

Many tx

Please consider marking as "helpful", if you find this post useful. Thanks!... http://johncmorrissey.wordpress.com/
0 Kudos
ahe
Contributor
Contributor
Jump to solution

Hi JCMorrissey,

You gave me some useful information, thank you.
But I want is some how to use Java call vspere SDK for virtual machine information.

If you have some sample sample that is the best of it.

0 Kudos
sivadevel
Enthusiast
Enthusiast
Jump to solution

Hi,

Download this project http://vijava.sourceforge.net/. This has lot of samples for you play with.

For exact answer to the original question the VirtualMachine object has a call get_config(). This gives the Virtualmachine Configuration information.

Thanks,

./Siva.

ahe
Contributor
Contributor
Jump to solution

Hi,

Sivadevel,thank you!

But i don't know how to get VirtualMachine object.

Could you  give me some ideas or  Java simaples?

Thanks!

./ahe

0 Kudos