After you create a tag, you can assign the tag to a vSphere managed object. Tags make the inventory objects in your virtual environment more sortable and searchable.
Obtain the managed object identifier for the specified cluster.
To get the managed object identifier of the ClusterComputeResource, you must access vCenter Server by using the vSphere Web Services API. For more information about how to access Web Services, see Create a Web Services Session.