VMware {code} Community
abhinawkr
Contributor
Contributor

Can i use datacenter api with Node JS?

We want to achive below functionality in Node JS :-

  1. Use user name and password to login to VCenter
  2. Identify and Validate the cluster name and data center name as provided by user.
  3. It also checks whether it is embedded mode or not.

Our legacy app was build in JAVA & we use "vim25.jar" to csame functionlity.

Reply
0 Kudos
3 Replies
tganchev
VMware Employee
VMware Employee

Hi

There is a Fling project you can use to talk to vSphere SOAP APIs - vSphere SDK for JavaScript. It also supports the newer automation APIs. You can also use the existing REST APIs for vCenter as demonstrated in the vCenter API Explorer.

Tony

Reply
0 Kudos
abhinawkr
Contributor
Contributor

Thanks for Reply.

I tried with documentations but did not get success. 

Is there any way i can test same using some tools? or stackblitz, jsbin. plunker?

Reply
0 Kudos
tganchev
VMware Employee
VMware Employee

Not to my knowledge Smiley Sad

You mention that the documentation did not help in your effort. May I suggest that you give some example of what things you are trying to build and links to the docs and we can figure out what is missing - and of course what is the right thing to do.

Best,

Tony

Reply
0 Kudos