Here is my scenario, I've a workflow to create and remove DNS records with powershell plugin. I want that to be requested through XaaS and create an item that a user can then manage. And by manage I mean delete. I've tried serveral different ways to implement this, returning different types to be my Custom Resource. I'll save you from all the details of each attempt but I couldn't get it to work the way I wanted.
I want to be able to make a request with XaaS that then becomes an item with properties of that item. Those properties can then be passed to Resource Actions to go off and do other things. This could apply to SSH, SQL, Powershell, and probably a few other standard plugins that dont actually create and object that the vRO plugin sees. In my case its a DNS record, but it could be a number of other kinds of tasks, switchport, fileshare, LUN, zoneset, something else with ssh, etc. I should have a way to have an item with those properties. Sadly, I think I may be stuck with Dynamic Types here, but doesnt that limit me to REST or SOAP?
The last thing I tried was to create resource elements with the properties I needed. I was hoping I could use the object to run actions to get the data I need to populate the details form. I don't think this is a great solution, but I was out of ideas. When I request that workflow, it fails in vRA eventhough the workflow is successful in vRO. No logs to be found.
Anyone have any ideas?
GrantOrchardVMware said you might, SeanKohler