Summary
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
Requirements
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Microsoft IE 10+
- Apple Safari 6+
- Opera 15+
- Node.js 4+
Instructions
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.
Changelog
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
Contributors
Similar Flings
No similar flings found. Check these out instead...

View Client Resizer
The Horizon View Windows Client Resizer is a utility for VMware Horizon Client for Windows to resize the desktop to a specific resolution.

VMware Container For Folding@Home
VMware Container for Folding@ Home is a docker container for running folding at home client. This container is supported on both Docker standalone clients and on a Kubernetes Cluster.

Virtual Machine Desired State Configuration
Virtual Machine Desired State Configuration (VMDSC) allows virtual administrators to specify VM CPU/Memory desired state which will take effect upon the next Guest OS reboot. This removes the burden of having to schedule a downtime window with the business/app owners.

vSphere PKS Plugin
The vSphere PKS Plugin provides a user interface for managing and monitoring Kubernetes cluster deployments for the PKS platform.

vCloud Director REST API Shell (RAS)
vCloud Director REST API Shell (RAS) provides an alternative interface for interacting with vCloud Director. Rather than using a web browser, this Fling allows you to interact with vCloud Director through the command-line using a small python script.

Software-Defined Data Center Skywalk
We are solving the problem to auto register, discover, connect VPN's between VMC SDDC's on single click event. The Distributed Firewall DFW firewall policies are also mapped on user inputs from on-premise to VMC SDDC using this interface.