Class OpenStack
The main client of the library. This object is the central point of negotiation between your application and the API because it handles all of the HTTP transactions required to perform operations. It also manages the services for your application through convenient factory methods.
- Guzzle\Http\Client
- OpenCloud\Common\Http\Client
- OpenCloud\OpenStack
Direct known subclasses
OpenCloud\Rackspace
public
|
|
public
mixed
|
|
public
array
|
|
public
mixed
|
|
public
string
|
|
public
|
|
public
|
|
public
mixed
|
#
setTenant( string $tenant )
Set the tenant. If an integer is passed in, the SDK assumes you want to set the ID of the full Tenant object and sets this property accordingly. For any other data type, it assumes you want to populate the Tenant object. This ambiguity arises due to backwards compatibility. |
public
string
|
|
public
|
#
setTenantObject(
Set the full Tenant object for this client. |
public
|
|
public
mixed
|
|
public
array
|
|
public
mixed
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
Guzzle\Http\Url
|
|
public
|
#
setUser(
Sets the current user based on the generated token. |
public
|
|
public
|
|
public
array
|
#
exportCredentials( )
Convenience method for exporting current credentials. Useful for local caching. |
public
|
#
importCredentials( array $values )
Convenience method for importing credentials. Useful for local caching because it reduces HTTP traffic. |
public
|
#
objectStoreService( string $name = null, string $region = null, string $urltype = null )
Creates a new ObjectStore object (Swift/Cloud Files) |
public
|
#
computeService( string $name = null, string $region = null, string $urltype = null )
Creates a new Compute object (Nova/Cloud Servers) |
public
|
#
orchestrationService( string $name = null, string $region = null, string $urltype = null )
Creates a new Orchestration (Heat) service object |
public
|
#
volumeService( string $name = null, string $region = null, string $urltype = null )
Creates a new Volume (Cinder) service object |
public
|
|
public
|
#
imageService( string $name = null, string $region = null, string $urltype = null )
Creates a new Glance service |
getDefaultUserAgent(),
getUserAgent()
|
MINIMUM_PHP_VERSION,
VERSION
|