Methods
Construct
__construct(\Zend_Service_Rackspace_Servers $service, array $data) : void
Parameters
$service
\Zend_Service_Rackspace_Servers
$data
array
Create a server in the shared Ip Group
createServer(array $data, array $metadata = array()
, array $files = array()
) : \Zend_Service_Rackspace_Servers_Server | boolean
Parameters
$data
array
$metadata
array
$files
array
Returns
\Zend_Service_Rackspace_Servers_Server
boolean
Get the id of the shared IP group
getId() : string
Get the name of the shared IP group
getName() : string
Get the server
getServer(integer $id) : \Zend_Service_Rackspace_Servers_Server | boolean
Parameters
$id
integer
Returns
\Zend_Service_Rackspace_Servers_Server
boolean
Get the server's array of the shared IP group
getServersId() : string
To Array
toArray() : array
Properties
Id of the shared IP group
$id : string
Name of the shared IP group
$name : string
Array of servers of the shared IP group
$serversId : array
The service that has created the image object
$service : \Zend_Service_Rackspace_Servers
Constants
ERROR_PARAM_CONSTRUCT
ERROR_PARAM_CONSTRUCT = 'You must pass a Zend_Service_Rackspace_Servers object and an array'
ERROR_PARAM_NO_ID
ERROR_PARAM_NO_ID = 'You must pass the image\'s id in the array (id)'
ERROR_PARAM_NO_NAME
ERROR_PARAM_NO_NAME = 'You must pass the image\'s name in the array (name)'
ERROR_PARAM_NO_SERVERS
ERROR_PARAM_NO_SERVERS = 'The servers parameter must be an array of Ids'