Zend Framework
1.12
|
Public Member Functions | |
getAdapterResult () | |
Get the last result of the adapter. | |
waitStatusInstance ($id, $status, $timeout=self::TIMEOUT_STATUS_CHANGE) | |
Wait for status $status with a timeout of $timeout seconds. | |
deployInstance ($id, $params, $cmd) | |
Run arbitrary shell script on an instance. | |
![]() | |
listInstances () | |
Return a list of the available instances. | |
statusInstance ($id) | |
Return the status of an instance. | |
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. | |
getAdapter () | |
Get the adapter instance. | |
getLastHttpResponse () | |
Get the last HTTP response. | |
getLastHttpRequest () | |
Get the last HTTP request. | |
Protected Attributes | |
$adapterResult | |
$validMetrics | |
Additional Inherited Members | |
![]() | |
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. | |
deployInstance | ( | $id, | |
$params, | |||
$cmd | |||
) |
Run arbitrary shell script on an instance.
string | $id | |
array | $param | |
string | array | $cmd |
Implements Zend_Cloud_Infrastructure_Adapter.
getAdapterResult | ( | ) |
waitStatusInstance | ( | $id, | |
$status, | |||
$timeout = self::TIMEOUT_STATUS_CHANGE |
|||
) |
Wait for status $status with a timeout of $timeout seconds.
string | $id | |
string | $status | |
integer | $timeout |
Implements Zend_Cloud_Infrastructure_Adapter.
|
protected |
|
protected |