1.0.8 • Published 4 years ago

@hyperqube/vsphere-soap v1.0.8

Weekly downloads
7
License
UNLICENSED
Repository
github
Last release
4 years ago

vsphere-soap

Typescript client for vSphere's SOAP API.

Usage

npm i @hyperqube/vsphere-soap soap && npm i -D @types/soap

import { Connection } from "@hyperqube/vsphere-soap";
import * as soap from "soap";

const main = async () => {
  const client = await soap.createClientAsync("your url");
  const connection = new Connection(client);
  await connection.login("username", "password");
  
  const content = await connection.getContent();

  // do whatever from here; for instance,
  const containerView = await content.viewManager?.createContainerView({ ... });
  await content.propertyCollector.retrievePropertiesEx({ ... });
};
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

5 years ago

0.3.1

5 years ago