package Zend_Service_Rackspace

 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_Serverboolean

Get the id of the shared IP group

getId() : string

Returns

string

Get the name of the shared IP group

getName() : string

Returns

string

Get the server

getServer(integer $id) : \Zend_Service_Rackspace_Servers_Server | boolean

Parameters

$id

integer

Returns

\Zend_Service_Rackspace_Servers_Serverboolean

Get the server's array of the shared IP group

getServersId() : string

Returns

string

To Array

toArray() : array

Returns

array

 Properties

 

Id of the shared IP group

$id : string

Default

 

Name of the shared IP group

$name : string

Default

 

Array of servers of the shared IP group

$serversId : array

Default

array()
 

The service that has created the image object

$service : \Zend_Service_Rackspace_Servers

Default

 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'