Scalr\Service\Aws\Ec2\DataType\InstanceData::reboot PHP Method

reboot() public method

Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to you. Requests to reboot terminated instances are ignored. Note! If a Linux/UNIX instance does not cleanly shut down within four minutes, Amazon EC2 will perform a hard reboot.
public reboot ( ) : boolean
return boolean Returns true on success or throws an exception otherwise
    public function reboot()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getEc2()->instance->reboot($this->instanceId);
    }