VMware Cloud Community
raj11
Contributor
Contributor

How do I find the id of the vappTemplate given a vm object?

Hi,

In VCD, I use a vappTemplate in order to create a VM.

Now after creating the VM, I need to retrieve the id of the vappTemplate from which this VM was created in the first place. But looking at the vm object (in the vmware vcd java sdk 5.1) I don't see it containing this vappTemplate information at all. How can I retrieve the id of the vappTemplate from which the VM was created?

Thanks,

Raj

Tags (3)
0 Kudos
0 Replies