1.0.20250609110908 • Published 1 month ago

@stordata/vsphere-soapify v1.0.20250609110908

Weekly downloads
2
License
UNLICENCED
Repository
-
Last release
1 month ago

vsphere-soapify

This project is an attempt to implement the vSphere SDK in Javascript, performing remote calls through the vSphere SOAP interface. It uses node-soap to transform function calls into remote SOAP calls.

Resources

A number of resources should be read and understood before using this project, especially if you intend to contribute to the code:

Architecture

The general idea is to stay close to the VMware SDK in terms of:

  • Project structure
  • Objects (data objects, managed objects, enumerations, etc.) modeling
  • Function names
  • etc.

The primary goal of this library is to remove the complexity of the SDK itself (yes, PropertyCollector is hard by design !)

Managed objects

Managed objects provide feaures exposed as methods. As a SDK user, you obtain references to a managed object and then you call a method on the object to execute a remote call on the target vSphere server. Such a method call usually return a data object, as explain below.
Commonly used managed objects include, but aren't limited to:

  • PropertyCollector
  • ViewManager
  • SessionManager
  • ...

In the SDK, every method returns a Promise resolving with the resulting data object, or rejecting with an Error.

Data objects

Data objects are data structures holding pieces of information regarding the target vSpshere server. Some data objects can be complex, containing multiple levels of other nested data objects.
In the code of this library, every data object is modeled as a Javascript class.

Usage

Using the SDK is pretty easy:

'use strict';

const { Client } = require('@vsphere/soapify'),
      client = new Client('https://vsphere.target.url');
  
client
  .login('username', 'password')
  .then(() => client.getHosts(['name']))
  .then(hosts => console.log(hosts))
  .then(() => client.logout());

Releasing

This library is released oncommit on NPM. There's nothing to do.

1.0.20250519150707

2 months ago

1.0.20250418083505

3 months ago

1.0.20250516140822

2 months ago

1.0.20250319141254

4 months ago

1.0.20250319201058

4 months ago

1.0.20250523231051

2 months ago

1.0.20250324212333

4 months ago

1.0.20250317080923

4 months ago

1.0.20250424210858

3 months ago

1.0.20250602075225

2 months ago

1.0.20250422080853

3 months ago

1.0.20250324181110

4 months ago

1.0.20250501170708

3 months ago

1.0.20250513210550

2 months ago

1.0.20250319151045

4 months ago

1.0.20250312081331

4 months ago

1.0.20250307084443

4 months ago

1.0.20250304090910

5 months ago

1.0.20250307090437

4 months ago

1.0.20250228190916

5 months ago

1.0.20250109160943

6 months ago

1.0.20250214081112

5 months ago

1.0.20241211100925

7 months ago

0.0.37

8 months ago

1.0.20250226061114

5 months ago

0.0.38

8 months ago

0.0.39

8 months ago

1.0.20250207181015

5 months ago

1.0.20250226101204

5 months ago

1.0.20241206130848

7 months ago

1.0.20250122141133

6 months ago

1.0.20241204083450

8 months ago

0.0.36

1 year ago

0.0.35

2 years ago

0.0.29

2 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

4 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago