code: func resourceVSphereResourcePoolReadTags(d *schema.ResourceData, meta interface{}, rp *object.ResourcePool) error {
  	if tagsClient, _ := meta.(*VSphereClient).TagsClient(); tagsClient != nil {
  		log.Printf("[DEBUG] %s: Reading tags", resourceVSphereResourcePoolIDString(d))
  		if err := readTagsForResource(tagsClient, rp, d); err != nil {
  			return err
  		}
  	} else {
  		log.Printf("[DEBUG] %s: Tags unsupported on this connection, skipping tag read", resourceVSphereResourcePoolIDString(d))
  	}
  	return nil
  }
docs: // resourceVSphereResourcePoolReadTags reads the tags for
  // vsphere_resource_pool.