Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Add a Resource Action to Deployments

$
0
0

I am trying to add a custom Resource Action that will apply to any Deployment objects for "day 2" provisioning actions. I can successfully add Resource Actions to Virtual Machine objects, which is reasonably well documented. I cannot find any examples of doing the same for Deloyments objects. Does anyone know the right way to achieve this?

 

I am working with vRA v7.0 and the embedded vRO v7.0.1 server.

 

By defining a custom Resouce Mapping for the Deployment catalog resouce type, I can get my custom Resource Action to show up correctly in the Actions drop-down of the Items/Deployments page.

 

However, once the action is invoked, there is a problem in the vRO workflow that is the Resource Mapping workflow. I believe this is the root of my problem. My workflow has a single input parameter of the Properties. This matches the documentation for Resource Mapping and the configuration of the existing VM mapping workflows. However, vRA is apparently not setting that Properties parameter. It is null when I try to use it from a scriptable task in the workflow. The workflow run log also shows <<null>> for the Properties variable.

 

Does anyone happen to know of there is some other Input parameter type that is actually set when working with a Deployment?

 

-John


Viewing all articles
Browse latest Browse all 9859

Trending Articles