So I need some real help with a missing piece of the puzzle. I want to capture the "VirtualMachine.Network0.ProfileName" right when a VM is requested and modify it in vRO. Why? Because I have thousands of profiles and I don't want the requester to have to know or scroll through them. Based on their business area and application, I want to determine their profile programmatically.
I thought my prior understanding of how to modify the hostname would come in use until I hit a major hurdle. I'm modifying hostname (VirtualMachineName) at REQUESTED/Pre and I'm writing it back using "Update an IaaS Model" this works handily except for a single audit entry that lists the original name (unfortunate).
I thought I could write ProfileName back to the IaaS Model as well... until I realized that the model doesn't actual contain this info. This info is only in the vCACCAFE Request and Item. I don't know how or if I can even update this data, which I guess is what I'm asking.
What I'd really love: If I had a general understanding about how to intercept the request data before vRealize makes any decisions based on it so that I could inject anything (not just this one scenario).
Is there anyone that could help me? I can provide more details in any direction needed.