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 license@zend.com 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) : voidConstructor
Parameters
| Name | Type | Description |
|---|---|---|
| $service | \Zend_Service_Rackspace_Servers | |
| $data | array |

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

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

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

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