(self, mors)
return tag_associations
Get all tags identifiers for a given set of objects
        Doc:
        https://vmware.github.io/vsphere-automation-sdk-rest/6.5/operations/com/vmware/cis/tagging/tag_association.list_attached_tags_on_objects-operation.html

        This operation was added in vSphere API 6.5
Get all tags identifiers for a given set of objects
        Doc:
        https://vmware.github.io/vsphere-automation-sdk-rest/6.5/operations/com/vmware/cis/tagging/tag_association.list_attached_tags_on_objects-operation.html
Get all tags identifiers for a given set of objects Doc : https : // vmware . github . io / vsphere - automation - sdk - rest / 6 . 5 / operations / com / vmware / cis / tagging / tag_association . list_attached_tags_on_objects - operation . html
def tagging_tag_association_list_attached_tags_on_objects(self, mors):
        # type: (List[vim.ManagedEntity]) -> List[TagAssociation]
        """
        Get all tags identifiers for a given set of objects
        Doc:
        https://vmware.github.io/vsphere-automation-sdk-rest/6.5/operations/com/vmware/cis/tagging/tag_association.list_attached_tags_on_objects-operation.html

        This operation was added in vSphere API 6.5
        """
        payload = {"object_ids": [{"id": mor._moId, "type": MOR_TYPE_MAPPING_TO_STRING[type(mor)]} for mor in mors]}
        tag_associations = self._request_json(
            self.endpoints['tag-association-action'],
            method="post",
            data=json.dumps(payload),
            extra_headers=self.JSON_REQUEST_HEADERS,
        )
        return tag_associations
def tagging_tag_association_list_attached_tags_on_objects ( self , mors ) : # type: (List[vim.ManagedEntity]) -> List[TagAssociation] payload = { "object_ids" : [ { "id" : mor . _moId , "type" : MOR_TYPE_MAPPING_TO_STRING [ type ( mor ) ] } for mor in mors ] } tag_associations = self . _request_json ( self . endpoints [ 'tag-association-action' ] , method = "post" , data = json . dumps ( payload ) , extra_headers = self . JSON_REQUEST_HEADERS , ) return tag_associations