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...

App Volumes Entitlement Sync
The App Volumes Entitlement Sync Fling will read, compare and sync entitlements from one App Volumes instance to another.

VCS to VCVA Converter
The VCS to VCVA Converter Appliance is the winning idea from the 2013 Fling Contest. It allows customers to migrate from Windows vCenter Server with an External Microsoft SQL Server Database to the vCenter Server Appliance with an embedded vPostgres database.

SQL30 - An ORM for SQLITE on ESX
SQL30 is a ZERO weight ORM for SQLITE database written using only native python constructs. This ORM works as is on current ESX version of Python without having any additional dependencies.

vSphere Diagnostic Tool
vSphere Diagnostic Tool is a python script that runs diagnostic commands on the Photon Appliance or ESXi platform to return useful troubleshooting data while running within the confines of the local environment with out upstream dependencies.

vCO-CLI
vCO-CLI aims to provide exploratory programming to the vCO ecosystem. It connects to a running vCO server and presents a JavaScript REPL (Read-Eval-Print-Loop) to the user

Federated Machine Learning on Kubernetes
FATE is an opensource project hosted by Linux Foundation to provide a federated learning framework. FATE has been used to increase the performance of predictions in credit reporting, insurance and other financial areas, as well as surveillance and visual detection projects. It helps organizations to comply with strict privacy regulations and laws such as GRDP and CCPA.