public function snapshot($dropletId, array $parameters = array())
    {
        return $this->processQuery($this->buildQuery($dropletId, DropletsActions::ACTION_SNAPSHOT, $parameters));
    }
public function snapshot($dropletId, array $parameters = array())
    {
        return $this->processQuery($this->buildQuery($dropletId, DropletsActions::ACTION_SNAPSHOT, $parameters));
    }
public function snapshot ( $ dropletId , array $ parameters = array ( ) ) { return $ this -> processQuery ( $ this -> buildQuery ( $ dropletId , DropletsActions :: ACTION_SNAPSHOT , $ parameters ) ) ; }
Takes a snapshot of the running droplet, which can later be restored or
used to create a new droplet from the same image.
Please be aware this may cause a reboot.
The name key is optional.

@param integer $dropletId  The id of the droplet.
@param array   $parameters An array of parameters (optional).

@return StdClass
Takes a snapshot of the running droplet which can later be restored or used to create a new droplet from the same image . Please be aware this may cause a reboot . The name key is optional .