While instantiating vApps from a template in much the same way that the HellovCloud.java sample does it, I need to be able to change the hostname (called the Computer Name in vCD) of the single VM contained within the vApp. I can't seem to find any examples on how to do this. Any ideas?
Hope this helps, I pulled it from some code we use (.NET SDK) -- This is not an exact copy of the working code, but should be what you need in order to get going.
string modifierText = '1234';
//With v1.5 full API may need to change this object type to Vm
Vapp vm = GETTHECHILDFROMTHEAPP( vapp.GetChildrenVms() );
Hope this helps, I pulled it from some code we use (.NET SDK) -- This is not an exact copy of the working code, but should be what you need in order to get going.
string modifierText = '1234';
//With v1.5 full API may need to change this object type to Vm
Vapp vm = GETTHECHILDFROMTHEAPP( vapp.GetChildrenVms() );