vSphere

 View Only
  • 1.  Can i use datacenter api with Node JS?

    Posted Oct 31, 2018 09:47 AM

    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.



  • 2.  RE: Can i use datacenter api with Node JS?

    Broadcom Employee
    Posted Nov 01, 2018 07:55 PM

    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



  • 3.  RE: Can i use datacenter api with Node JS?

    Posted Nov 05, 2018 07:14 AM

    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?



  • 4.  RE: Can i use datacenter api with Node JS?

    Broadcom Employee
    Posted Nov 21, 2018 03:32 PM

    Not to my knowledge :smileysad:

    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