Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Identity
      • Log
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Resource
    • LoadBalancer
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Service
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Service

The Rackspace Database As A Service (aka "Red Dwarf")

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service\AbstractService
Extended by OpenCloud\Common\Service\NovaService
Extended by OpenCloud\Database\Service
Namespace: OpenCloud\Database
Located at OpenCloud/Database/Service.php
Methods summary
public OpenCloud\Compute\FlavorList
# flavorList( boolean $details = false, array $filter = array() )

Returns a list of flavors

Returns a list of flavors

just call the parent FlavorList() method, but pass FALSE because the /flavors/detail resource is not supported

Parameters

$details
boolean
$details Returns full details or not.
$filter
array
$filter Array for creating queries

Returns

OpenCloud\Compute\FlavorList

Api

Overrides

OpenCloud\Common\Service\NovaService::flavorList()
public DbService\Instance
# instance( string $id = null )

Creates a Instance object

Creates a Instance object

Parameters

$id
string
$id the ID of the instance to retrieve

Returns

DbService\Instance

Api

public Collection
# instanceList( array $params = array() )

Creates a Collection of Instance objects

Creates a Collection of Instance objects

Parameters

$params
array
$params array of parameters to pass to the request as query strings

Returns

Collection

Api

Methods inherited from OpenCloud\Common\Service\NovaService
flavor(), loadNamespaces()
Methods inherited from OpenCloud\Common\Service\AbstractService
__construct(), collection(), getBaseUrl(), getClient(), getCurrentNamespace(), getEndpoint(), getExtensions(), getName(), getRegion(), getResources(), getType(), getUrl(), getUrlType(), limits(), namespaces(), resolveResourceClass(), resource(), resourceList(), setClient()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants summary
string DEFAULT_TYPE 'rax:database'
#
string DEFAULT_NAME 'cloudDatabases'
#
Constants inherited from OpenCloud\Common\Service\AbstractService
DEFAULT_REGION, DEFAULT_URL_TYPE
Properties inherited from OpenCloud\Common\Service\AbstractService
$client, $namespaces, $resources
PHP OpenCloud API API documentation generated by ApiGen 2.8.0