code: def resume(self):
          
          log.info("Resuming cluster `%s` ...", self.name)
          failed = self._resume_all_nodes()
          for node in self.get_all_nodes():
              node.update_ips()
          self._gather_node_ip_addresses(
              self.get_all_nodes(), self.start_timeout, self.ssh_probe_timeout)
          self.repository.save_or_update(self)
          if failed:
              log.warning(
                      "Not all cluster nodes have been successfully "
                      "restarted.  Check error messages above and consider "
                      "re-running `elasticluster resume %s` if "
                      "necessary.", self.name)
              return
          if not self._setup_provider.resume_cluster(self):
              log.warning("Elasticluster was not able to guarantee that the "
                          "cluster restarted correctly - check the errors "
                          "above and check your config.")
docs: Resume all paused VMs in this cluster.