Zend Framework
1.12
|
Public Member Functions | |
__construct ($service, $data) | |
Constructor. | |
getName () | |
Get the name of the server. | |
getId () | |
Get the server's id. | |
getImageId () | |
Get the server's image Id. | |
getFlavorId () | |
Get the server's flavor Id. | |
getHostId () | |
Get the server's host Id. | |
getAdminPass () | |
Ge the server's admin password. | |
getStatus () | |
Get the server's status. | |
getProgress () | |
Get the progress's status. | |
getPrivateIp () | |
Get the private IPs. | |
getPublicIp () | |
Get the public IPs. | |
getMetadata ($key=null) | |
Get the metadata of the container. | |
changeName ($name) | |
Change the name of the server. | |
changePassword ($password) | |
Change the admin password of the server. | |
reboot ($hard=false) | |
Reboot the server. | |
toArray () | |
To Array. | |
Public Attributes | |
const | ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array' |
const | ERROR_PARAM_NO_NAME = 'You must pass the server\'s name in the array (name)' |
const | ERROR_PARAM_NO_ID = 'You must pass the server\'s id in the array (id)' |
Protected Attributes | |
$name | |
$id | |
$imageId | |
$flavorId | |
$hostId | |
$status | |
$progress | |
$adminPass | |
$addresses = array() | |
$metadata = array() | |
$service | |
__construct | ( | $service, | |
$data | |||
) |
changeName | ( | $name | ) |
Change the name of the server.
string | $name |
changePassword | ( | $password | ) |
Change the admin password of the server.
string | $password |
getAdminPass | ( | ) |
Ge the server's admin password.
getFlavorId | ( | ) |
Get the server's flavor Id.
getHostId | ( | ) |
Get the server's host Id.
getId | ( | ) |
Get the server's id.
getImageId | ( | ) |
Get the server's image Id.
getMetadata | ( | $key = null | ) |
Get the metadata of the container.
If $key is empty return the array of metadata
string | $key |
getName | ( | ) |
Get the name of the server.
getPrivateIp | ( | ) |
Get the private IPs.
getProgress | ( | ) |
Get the progress's status.
getPublicIp | ( | ) |
Get the public IPs.
getStatus | ( | ) |
Get the server's status.
reboot | ( | $hard = false | ) |
Reboot the server.
toArray | ( | ) |
To Array.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array' |
const ERROR_PARAM_NO_ID = 'You must pass the server\'s id in the array (id)' |
const ERROR_PARAM_NO_NAME = 'You must pass the server\'s name in the array (name)' |