Hello,
thanks for answering.
I am trying to manage instance lifecycles from an external webapp using java sdk , I store in a DB the instanceId because I need a ID that does not change.
If I store and find using zone or name I could not find the VM some day, because they can change by instance renaming or moving the instance to other zone.
Since it is a external webapp to use metadata it is also not a valid solution. The path does not contains the instance I try to find so I suppose(and for what I have read)is to GET the instance ID from inside a deployed VM, isn't it ?
Due to your response seems like there is no another way, so: I will keep finding the instance from
aggregated list(ignoring zone) + id filter.
It is just a little strange to me that this was the only way to "findByID".
Thanks anyway, have a nice day.
Lucia.