2024.1.0 - PowerShell SWIS - API - Adding a vCenter Host to the platform

Hi All,

I'm new to SolarWinds and these forums, so if this is in the wrong place, please let me know.

I have what should be a simple requirement, however I cannot figure out how to do it or why I can't find any examples online!

I am using the SWIS PowerShell modules to install/configure the new 2024.1.0 release (moving from 2020.6.2).   Most of the work has already been done using existing code, however as the product has changed considerably (so far as I'm told), the VMAN functionality/method of configuration has changed.

So my question: 

How do I add my vCenter hosts to the Platform using PowerShell/SWIS/API.   I have been going through the documentation (PowerShell · solarwinds/OrionSDK Wiki · GitHub) and the API Schema (Swagger UI (solarwinds.github.io)), but unfortunately, I simply can't work out which end-point I need to use and how to actually do it.

Any help would be massively appreciated.

Many thanks, 

Simon

    

Parents
  • I haven't seen anyone post code to add a vcenter programmatically, since that tends to be pretty close to a one time procedure for most environments. 

    As best I can tell this looks like the relevant api endpoint, but it sometimes takes some experimenting to get the syntax of the request right. 

    /Invoke/Orion.VIM.Discovery/CreateVimPluginConfiguration

    I'd recommend you install swql studio to your workstation and connect it to your Orion server as it provides some guide rails for making api calls and figuring out what the endpoint is expecting. 

Reply
  • I haven't seen anyone post code to add a vcenter programmatically, since that tends to be pretty close to a one time procedure for most environments. 

    As best I can tell this looks like the relevant api endpoint, but it sometimes takes some experimenting to get the syntax of the request right. 

    /Invoke/Orion.VIM.Discovery/CreateVimPluginConfiguration

    I'd recommend you install swql studio to your workstation and connect it to your Orion server as it provides some guide rails for making api calls and figuring out what the endpoint is expecting. 

Children