Repository navigation
Query vm by custom attribute #2920
|
Hi! |
Answered by
embano1
Jul 29, 2022
Replies: 1 comment 1 reply
|
IMHO this is not possible and you need to retrieve the |
1 reply
Answer selected by
tenthirtyam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IMHO this is not possible and you need to retrieve the
ManagedObjectReferencesfirst and then perform attribute matching, likegovcdoes https://github.com/vmware/govmomi/blob/master/govc/fields/info.go#L88