If using the rest API directly a tag exists:
<Vm>
<VAppScopedLocalId>169b20c8-8a41-40f0-bbbb-52a842efa66a</VAppScopedLocalId>
</Vm>
This ID is used for network connection and nat information, but I do not see how to get it for a VM via the SDK. The reference object has a place for "id" but it is always empty. And I do not see a VAppScopedLocalId on the VM(Vapp) object.
Thanks