Class Rackspace
Rackspace extends the OpenStack class with support for Rackspace's API key and tenant requirements.
The only difference between Rackspace and OpenStack is that the Rackspace class generates credentials using the username and API key, as required by the Rackspace authentication service.
Example:
<code> $client = new Rackspace( 'https://identity.api.rackspacecloud.com/v2.0/', array( 'username' => 'FRED', 'apiKey' => '0900af093093788912388fc09dde090ffee09' ) ); </code>
- Guzzle\Http\Client
- OpenCloud\Common\Http\Client
- OpenCloud\OpenStack
- OpenCloud\Rackspace
public
string
|
#
getCredentials( )
Generates Rackspace API key credentials Formats the credentials array (as a string) for authentication |
public
|
#
databaseService( string $name = null, string $region = null, string $urltype = null )
Creates a new Database service. Note: this is a Rackspace-only feature. |
public
|
#
loadBalancerService( string $name = null, string $region = null, string $urltype = null )
Creates a new Load Balancer service. Note: this is a Rackspace-only feature. |
public
|
#
dnsService( string $name = null, string $region = null, string $urltype = null )
Creates a new DNS service. Note: this is a Rackspace-only feature. |
public
|
#
cloudMonitoringService( string $name = null, string $region = null, string $urltype = null )
Creates a new CloudMonitoring service. Note: this is a Rackspace-only feature. |
public
|
#
autoscaleService( string $name = null, string $region = null, string $urltype = null )
Creates a new CloudQueues service. Note: this is a Rackspace-only feature. |
public
|
#
queuesService( string $name = null, string $region = null, string $urltype = null )
Creates a new CloudQueues service. Note: this is a Rackspace-only feature. |
getDefaultUserAgent(),
getUserAgent()
|
string |
US_IDENTITY_ENDPOINT
|
'https://identity.api.rackspacecloud.com/v2.0/' |
|
string |
UK_IDENTITY_ENDPOINT
|
'https://lon.identity.api.rackspacecloud.com/v2.0/' |
MINIMUM_PHP_VERSION,
VERSION
|