Receiving tag information of a VM #2879
-
Hi, I wanted to know the use of the tag field in VirtualMachine. I've tried to retrieve the information this field contains by using Retrieve function and it has no information stored in it. And in issue#1825, it is mentioned that tags are stored in a different model by vCenter, then what is the purpose of this tag field? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Not 100% sure since I don't have all the background, but this field might not be used/correctly set in recent vSphere versions anymore since the tagging API is available under the VMODL2 APIs.
VMODL1 |
Beta Was this translation helpful? Give feedback.
Not 100% sure since I don't have all the background, but this field might not be used/correctly set in recent vSphere versions anymore since the tagging API is available under the VMODL2 APIs.
govmomi
andgovc
support this API, i.e. you can retrieve and manage tags.VMODL1
The set of tags associated with this managed entity. Experimental. Subject to change.