Quantcast
Channel: VMware Communities : Popular Discussions - Open Virtualization Format Tool
Viewing all articles
Browse latest Browse all 34499

How to set a Virtual Machine name with Java vCloud SDK api

$
0
0

I'm trying to settup a vApp with one VM via the Java SDK api, how can this be achieved?

 

I have thried :

 

 

childVm.getReference().setName("4pm-test-00004");
GuestCustomizationSectionType customSection = childVm.getGuestCustomizationSection();
customSection.setComputerName("4pm-test-00004");
customSection.setVirtualMachineId("4pm-test-00004");

 

Only the computer name is updated correctly but the Virtual Machine name is not...which setting is the right one?

 

I'm posting also a picture of the deployed VM to see what am I trying to change

 

vm_setting.png


Viewing all articles
Browse latest Browse all 34499

Trending Articles