vSphere SDK for JavaScript

The vSphere SDK for JavaScript enables programmatic access to various vSphere-related Web Service APIs and supports both browser and Node.js environments. It provides basic usage samples for the following product APIs:

  • ESXi 5.5+
  • Site Recovery Manager 6.0
  • vCenter Server 5.5+
  • vCenter Single Sign-On Server 6.0
  • vSphere Update Manager 6.5

The SDK relies on the target service metadata for API generation and type validation. It provides optimal performance by using smart caching and on-demand interface generation.

The implementation is version-agnostic but the provided API reference and TypeScript definitions are fully compatible only with the latest product releases.

The SDK has been used by a number of VMware products including the official ESXi Client.

Also read: vSphere SDK for Javascript Fling released

vsphere-sdk-js-screenshot

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Microsoft IE 10+
  • Apple Safari 6+
  • Opera 15+
  • Node.js 4+

The following 2 packages are available for download:

  • vsphere-1.1.0.tgz is an npm tarball that can be directly consumed as a dependency in a package.json descriptor
  • vsphere-1.1.0-src.tgz contains the complete project that includes samples, tests and a basic API documentation

Check the provided README.md for more details on running the samples.

1.1.0 (11-30-2016)

  • Support for vSphere Upgrade Manager and vSAN Health
  • Support for Appliance and vCenter management through vAPI
  • vSphere 6.5 compatibility
  • Improved validation
  • Updated dependencies

1.0.0 (02-02-2016)

  • Initial release
Add a Comment
Report a Bug