Zend Framework
1.12
|
Public Member Functions | |
listInstances () | |
Return a list of the available instances. | |
statusInstance ($id) | |
Return the status of an instance. | |
waitStatusInstance ($id, $status, $timeout=self::TIMEOUT_STATUS_CHANGE) | |
Wait for status $status with a timeout of $timeout seconds. | |
publicDnsInstance ($id) | |
Return the public DNS name of the instance. | |
rebootInstance ($id) | |
Reboot an instance. | |
createInstance ($name, $options) | |
Create a new instance. | |
stopInstance ($id) | |
Stop the execution of an instance. | |
startInstance ($id) | |
Start the execution of an instance. | |
destroyInstance ($id) | |
Destroy an instance. | |
imagesInstance () | |
Return all the available instances images. | |
zonesInstance () | |
Return all the available zones. | |
monitorInstance ($id, $metric, $options=null) | |
Return the system informations about the $metric of an instance. | |
deployInstance ($id, $param, $cmd) | |
Run arbitrary shell script on an instance. | |
getAdapter () | |
Get the adapter instance. | |
getAdapterResult () | |
Get the adapter result. | |
getLastHttpResponse () | |
Get the last HTTP response. | |
getLastHttpRequest () | |
Get the last HTTP request. | |
Public Attributes | |
const | HTTP_ADAPTER = 'http_adapter' |
const | TIMEOUT_STATUS_CHANGE = 30 |
The max. | |
const | TIME_STEP_STATUS_CHANGE = 5 |
The time step, in seconds, for the status change. | |
createInstance | ( | $name, | |
$options | |||
) |
Create a new instance.
string | $name | |
array | $options |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
deployInstance | ( | $id, | |
$param, | |||
$cmd | |||
) |
Run arbitrary shell script on an instance.
string | $id | |
array | $param | |
string | array | $cmd |
Implemented in Zend_Cloud_Infrastructure_Adapter_AbstractAdapter.
destroyInstance | ( | $id | ) |
Destroy an instance.
string | $id |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
getAdapter | ( | ) |
Get the adapter instance.
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
getAdapterResult | ( | ) |
Get the adapter result.
Implemented in Zend_Cloud_Infrastructure_Adapter_AbstractAdapter.
getLastHttpRequest | ( | ) |
Get the last HTTP request.
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
getLastHttpResponse | ( | ) |
Get the last HTTP response.
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
imagesInstance | ( | ) |
Return all the available instances images.
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
listInstances | ( | ) |
Return a list of the available instances.
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
monitorInstance | ( | $id, | |
$metric, | |||
$options = null |
|||
) |
Return the system informations about the $metric of an instance.
string | $id | |
string | $metric | |
array | $options |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
publicDnsInstance | ( | $id | ) |
Return the public DNS name of the instance.
string | $id |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
rebootInstance | ( | $id | ) |
Reboot an instance.
string | $id |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
startInstance | ( | $id | ) |
Start the execution of an instance.
string | $id |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
statusInstance | ( | $id | ) |
Return the status of an instance.
string | $id |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
stopInstance | ( | $id | ) |
Stop the execution of an instance.
string | $id |
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
waitStatusInstance | ( | $id, | |
$status, | |||
$timeout = self::TIMEOUT_STATUS_CHANGE |
|||
) |
Wait for status $status with a timeout of $timeout seconds.
string | $id | |
string | $status | |
integer | $timeout |
Implemented in Zend_Cloud_Infrastructure_Adapter_AbstractAdapter.
zonesInstance | ( | ) |
Return all the available zones.
Implemented in Zend_Cloud_Infrastructure_Adapter_Ec2, and Zend_Cloud_Infrastructure_Adapter_Rackspace.
const HTTP_ADAPTER = 'http_adapter' |
const TIME_STEP_STATUS_CHANGE = 5 |
The time step, in seconds, for the status change.
const TIMEOUT_STATUS_CHANGE = 30 |
The max.
amount of time, in seconds, to wait for a status change