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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_Rackspace
- Subpackage
- Servers
\Zend_Service_Rackspace_Servers_Server
Package: Zend_Service_Rackspace
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
ParametersName | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
array | string |
reboot( $hard = false) : boolean
Reboot the server
Parameters
Returns
Name | Type | Description |
---|---|---|
$hard |
Type | Description |
---|---|
boolean |