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

How to make dynamic folder creation in vSphere for vRA blueprint deployments?

$
0
0

Hello and good day!

 

Im trying to figure out how to make a dynamic folder created  when a user requests a vRA blueprint and have those machines from that deploy dumped into that folder.

 

 

 

 

What im aiming for is that when a user requests a blueprint in vRA, the request page asks what their name is.

When  the machines are created/deployed from that blueprint/request, a folder would be created in vSphere that would be labeled with the username that was provided through the request form, and all those provisioned machines would then be dropped into that folder.

 

Ive ran across the custom property of VMware.VirtualCenter.Folder, which works fine if  I manually put in the info into the blueprint properties,  but of course every time that blueprint is ran, it puts all the provisioned machines in the same folder.  Im aiming for the value of that property be dynamic and based on the info provided in the blueprint request form.

 

Hope this makes sense.

 

Any general help would be appreciated.

 

Eventually, id like the folder to be created with the info of <user+time/date>, but for starters and for my understanding, if i could just get it created dynamically with the user name, that would be a good start.

 

 

Thank you


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>