randeepsp
Contributor
Contributor

Tag value missing in MOB

Hi,

I have successfully created a tag and category for VM using vSphere web client.

When i try see the same using MOB, the value field for tag is empty.

Looked under Managed Object Type: ManagedObjectReference:VirtualMachine

Did i miss any step where i need to assign any privileges or do i need to look for it elsewhere ?

I am able to see values for other fields of the VM.

-Randeep

0 Kudos
1 Reply
vThinkBeyondVM
VMware Employee
VMware Employee

MOB is client for all vSphere SOAP based APIs. Tags are not part of these vSphere APIs. As part of vSphere 6.5, VMware released REST APIs as well and tag APIs are included there.

Here is REST API getting started tutorial: http://vthinkbeyondvm.com/getting-started-with-vcenter-server-rest-apis-using-python/

If it is useful, plz mark answer as correct or helpful.
----------------------------------------------------------------
Thanks & Regards
Vikas, VCP50, MCTS on AD, SCJP6.0.
http://vThinkBeyondVM.com
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

0 Kudos