VMware {code} Community
DmytroKryvko
Contributor
Contributor

Work with Update Manager using SDK for Perl

Hi all!

Will be great to have possibility to work with Update Manager using SDK for Perl.

Does anybody know where to start?

I didn't find any objects at: http://pubs.vmware.com/vi3/sdk/ReferenceGuide/

Regards,

Dmytro

Tags (1)
Reply
0 Kudos
3 Replies
lamw
Community Manager
Community Manager

Currently the VUM APIs are not exposed for public consumption nor are there any Perl bindings to the API.

However, VMware recently did release PowerCLI cmdlets which are client side stubs to VUM API but failed to release the API for all other non-Windows SDKs (you can thank VMware for that)

So for now, non-Window users luck out of automating any VUM tasks. We get to play with the slow GUI

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

DmytroKryvko
Contributor
Contributor

Thank you!

Do you have an example of using Perl scripts with PowerCLI cmdlets ?

Regards,

Dmytro

Reply
0 Kudos
lamw
Community Manager
Community Manager

No, I would not recommend mixing the two languages ....

If you really must, do a search online, I'm sure there are some Perl modules that allow you to talk to a Windows host. My guess is, some type of WMI call to Windows host to execute a PowerCLI script.

The other option, setup a Windows VM and have PowerCLI installed and then use VMware VIX API which is for guest management and send the commands or have it execute a specific script via Perl bindings to VIX API - http://www.vmware.com/support/developer/vix-api/

=========================================================================

William Lam

VMware vExpert 2009,2010

VMware scripts and resources at:

Twitter: @lamw

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos