Beispiel #1
0
 /**
  * Reboot an instance
  *
  * @param string $id
  * @return boolean
  */
 public function rebootInstance($id)
 {
     $this->resetError();
     try {
         $this->adapterResult = $this->ec2->reboot($id);
     } catch (Ec2Exception\RunTimeException $e) {
         $this->setError($e);
         return false;
     }
     return $this->adapterResult;
 }
Beispiel #2
0
 /**
  * Reboot an instance
  *
  * @param string $id
  * @return boolean
  */
 public function rebootInstance($id)
 {
     $this->adapterResult = $this->ec2->reboot($id);
     return $this->adapterResult;
 }