Service/Rackspace/Servers/Server.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_Rackspace
- Subpackage
- Servers
\Zend_Service_Rackspace_Servers_Server
Package: Default
Parameters
Returns
Constants
Properties
Methods


__construct(\Zend_Service_Rackspace_Servers $service, array $data) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$service | \Zend_Service_Rackspace_Servers | |
$data | array |


changeName(string $name) : boolean
Change the name of the server
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
boolean |


changePassword(string $password) : boolean
Change the admin password of the server
Parameters
Returns
Name | Type | Description |
---|---|---|
$password | string |
Type | Description |
---|---|
boolean |


getMetadata(string $key = null) : array | string
Get the metadata of the container
If $key is empty return the array of metadata
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
array | string |


getProgress() : integer | boolean
Get the progress's status
Returns
Type | Description |
---|---|
integer | boolean |


reboot( $hard = false) : boolean
Reboot the server
Parameters
Returns
Name | Type | Description |
---|---|---|
$hard |
Type | Description |
---|---|
boolean |