VMware {code} Community
lizjohn
Contributor
Contributor
Jump to solution

Query List of extensions

Hello

Is there a mechanism to programatically query the list of extensions registered on a vcenter server?

Thanks

Liz

0 Kudos
1 Solution

Accepted Solutions
laurentsd
VMware Employee
VMware Employee
Jump to solution

See enclosed a sample java program that includes code to list all vCenter extensions.

View solution in original post

0 Kudos
2 Replies
ssurana
VMware Employee
VMware Employee
Jump to solution

Liz,

You can use vSphere web services to get the list of extensions. This can be done by querying the "extensionList" property of the "ExtensionManager" object

http://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.wssdk.apiref.doc/vim.ExtensionManager.html

If you want to get that from within your web client plugin, then I suggest take a look at the sample that illustrates using the vsphere web services from within the web client. You can modify that to query the above property.

~ Sidharth

laurentsd
VMware Employee
VMware Employee
Jump to solution

See enclosed a sample java program that includes code to list all vCenter extensions.

0 Kudos