Does anybody have an example or link to the SDK that covers the "Orion.APIPoller.ApiPoller.AssignTemplate" Invoke method?
"Configuration" & "Parameters" is really what Im looking for.
-----update------
I got some help from klobk
What I needed to use is Orion.ApiPoller.ApiPoller CreateApiPollerFromTemplate
This basic $configuration works, Polling Interval needs to be set after.. you can get some idea where to start with Dev Tools in a Browser while navigating in SolarWinds and checking the payloads.
Set the Cred Type and ID as needed. You can ref. Orion.APIPoller.RequestDetails to get started.
You then need to back tic ` escape " to make a STRING of the XML.
$API_ID = Invoke-SwisVerb $swis Orion.ApiPoller.ApiPoller CreateApiPollerFromTemplate @($entity, $nodeid, $template_xml, $configuration, $parameters)