OpenCloud/Rackspace.php

Properties

Description

The Rackspace cloud/connection class (which uses different authentication than the pure OpenStack class)

Classes

Rackspace

Properties

 
 
No 
No 

Description

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: $username = 'FRED'; $apiKey = '0900af093093788912388fc09dde090ffee09'; $conn = new Rackspace( 'https://identity.api.rackspacecloud.com/v2.0/', array( 'username' => $username, 'apiKey' => $apiKey ));

Methods

Autoscale, CloudMonitoring, Credentials, DNS, DbService, LoadBalancerService,

Autoscale(   $name = null,   $region = null,   $urltype = null, ) : n/a

Description

creates a new Autoscale service object
This is a factory method that is currently Rackspace-only (not available via the OpenStack class)

Arguments

Name Type Description Default
$name n/a null
$region n/a null
$urltype n/a null

Return value

Type Description
n/a n/a

CloudMonitoring(   $name = null,   $region = null,   $urltype = null, ) : n/a

Description

creates a new CloudMonitoring service object
This is a factory method that is currently Rackspace-only (not available via the OpenStack class)

Arguments

Name Type Description Default
$name n/a null
$region n/a null
$urltype n/a null

Return value

Type Description
n/a n/a

Credentials( ) : string

Description

Generates Rackspace API key credentials

Return value

Type Description
string

DNS(   $name = null,   $region = null,   $urltype = null, ) : n/a

Description

creates a new DNS service object
This is a factory method that is currently Rackspace-only (not available via the OpenStack class)

Arguments

Name Type Description Default
$name n/a null
$region n/a null
$urltype n/a null

Return value

Type Description
n/a n/a

DbService( string   $name = null, string   $region = null, string   $urltype = null, ) : n/a

Description

Creates a new DbService (Database as a Service) object
This is a factory method that is Rackspace-only (NOT part of OpenStack).

Arguments

Name Type Description Default
$name string

the name of the service (e.g., 'Cloud Databases')

null
$region string

the region (e.g., 'DFW')

null
$urltype string

the type of URL (e.g., 'publicURL');

null

Return value

Type Description
n/a n/a

LoadBalancerService( string   $name = null, string   $region = null, string   $urltype = null, ) : n/a

Description

Creates a new LoadBalancerService object
This is a factory method that is Rackspace-only (NOT part of OpenStack).

Arguments

Name Type Description Default
$name string

the name of the service (e.g., 'Cloud Load Balancers')

null
$region string

the region (e.g., 'DFW')

null
$urltype string

the type of URL (e.g., 'publicURL');

null

Return value

Type Description
n/a n/a

Constants

  APIKEYTEMPLATE =




Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages