docstr: The function return the host id of first common host in cluster and datastore
docstr_tok: ["The","function","return","the","host","id","of","first","common","host","in","cluster","and","datastore"]
code: def get_host_id_of_datastore_cluster(
      self, datastore_name, cluster_name
  ):
      """
      The function return the host id of first common host in cluster and datastore
      """
      cluster = self.get_pyvmomi_obj(
          [vim.ClusterComputeResource], cluster_name
      )
      cluster_host_ids = [host._moId for host in cluster.host]
  
      datastore = self.get_pyvmomi_obj([vim.Datastore], datastore_name)
      datastore_host_ids = [host.key._moId for host in datastore.host]
  
      common = set(cluster_host_ids) & set(datastore_host_ids)
  
      return common.pop() if common else None
  
imports: import atexit
  import logging
  import ssl
  import time
  from enum import Enum
  from pyVim.connect import Disconnect, SmartStubAdapter, VimSessionOrientedStub
  from pyVim.task import WaitForTask
  from pyVmomi import vim, vmodl
  from ray.autoscaler._private.vsphere.utils import Constants, is_ipv4, singleton_client
label_desc: Use image node_id 14 for calling the PyvmomiSdkProvider obj's underlying member method code with example usage: obj.get_host_id_of_datastore_cluster(datastore_name, cluster_name) and returns: unknown