VMware Cloud Community
qc4vmware
Virtuoso
Virtuoso

vRA 8 iaas/api/machines select deploymentId does not return this column

I've been playing around with this api call iaas/api/machines and setting the select statement in various ways and any field I use seems to work aside from "deploymentId" .  Have I found a bug or is this intended behavior?  Hoping someone can confirm for me.

Reply
0 Kudos
5 Replies
xian_
Expert
Expert

-
Reply
0 Kudos
emacintosh
Hot Shot
Hot Shot

I think that api returns all discovered machines?  So those not onboarded wouldn't have a deploymentId...not sure if that's the case here, but thought it worth mentioning at least.

qc4vmware
Virtuoso
Virtuoso

The information is there so if you don't use a select statement it's included it's only when you specifically dither down the return result that it is not returned.

Reply
0 Kudos
qc4vmware
Virtuoso
Virtuoso

Looks like your response got cut off @xian_ ?

Reply
0 Kudos
xian_
Expert
Expert

Sorry, I removed my answer when I realized that I misread your question. 

Reply
0 Kudos