docstr: This function will get the resource pool id by vSphere SDK with the
  resource pool name
docstr_tok: ["This","function","will","get","the","resource","pool","id","by","vSphere","SDK","with","the","resource","pool","name"]
code: def get_resource_pool_id_by_name(self, rp_name):
      """
      This function will get the resource pool id by vSphere SDK with the
      resource pool name
      """
      rp_filter_spec = ResourcePool.FilterSpec(names={rp_name})
      resource_pool_summaries = (
          self.vsphere_sdk_client.vcenter.ResourcePool.list(
              rp_filter_spec
          )
      )
      if not resource_pool_summaries:
          raise ValueError(
              "Resource pool with name '{}' not found".format(
                  rp_filter_spec
              )
          )
      logger.debug(
          "Resource pool ID: {}".format(
              resource_pool_summaries[0].resource_pool
          )
      )
      return resource_pool_summaries[0].resource_pool
  
imports: import logging
  import time
  import uuid
  from threading import RLock
  import com.vmware.vapi.std.errors_client
  import requests
  from com.vmware.cis.tagging_client import CategoryModel
  from com.vmware.content.library_client import Item
  from com.vmware.vapi.std.errors_client import Unauthenticated
  from com.vmware.vapi.std_client import DynamicID
  from com.vmware.vcenter.ovf_client import DiskProvisioningType, LibraryItem
  from com.vmware.vcenter.vm.hardware_client import Cpu, Memory
  from com.vmware.vcenter.vm_client import Power
  from com.vmware.vcenter_client import VM, Host, ResourcePool
  from vmware.vapi.vsphere.client import create_vsphere_client
  from ray.autoscaler._private.vsphere.utils import Constants, singleton_client
  from ray.autoscaler.tags import TAG_RAY_CLUSTER_NAME
label_desc: Use image node_id 8 for calling the VsphereSdkProvider obj's underlying member method code with example usage: obj.get_resource_pool_id_by_name(rp_name) and returns: resource_pool_summaries