docstr: The function is used to power on vm
docstr_tok: ["The","function","is","used","to","power","on","vm"]
code: def power_on_vm(self, vm_name):
      """
      The function is used to power on vm
      """
      vm = self.get_pyvmomi_obj([vim.VirtualMachine], vm_name)
      if (
          vm.runtime.powerState
          == vim.VirtualMachinePowerState.poweredOff
      ):
          logger.debug(f"Frozen VM {vm._moId} is off. Powering it ON")
          WaitForTask(vm.PowerOnVM_Task())
          logger.debug(f"VM {vm_name} is power on. Done.")
  
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 8 for calling the PyvmomiSdkProvider obj's underlying member method code with example usage: obj.power_on_vm(vm_name) without return types