code: def suspend(self):
          
  
          if self.manager.host_type != "ws":
              raise VMwareError("Pausing a VM is only supported by VMware Workstation")
          yield from self._control_vm("pause")
          self.status = "suspended"
          log.info("VMware VM '{name}' [{id}] paused".format(name=self.name, id=self.id))
docs: Suspends this VMware VM.