# Class Service

The Rackspace Database service

  OpenCloud\Common\Base
  OpenCloud\Common\Service\AbstractService implements OpenCloud\Common\Service\ServiceInterface
  OpenCloud\Common\Service\CatalogService
  OpenCloud\Common\Service\NovaService
  OpenCloud\Database\Service

Namespace: OpenCloud\Database
Located at OpenCloud/Database/Service.php

Methods summary
`public `OpenCloud\Database\Resource\Instance`` | # `instance( string $id = null )` Returns an Instance Returns an Instance #### Parameters $id `string` $id the ID of the instance to retrieve #### Returns ``OpenCloud\Database\Resource\Instance``
`public `OpenCloud\Common\Collection\PaginatedIterator`` | # `instanceList( array $params = array() )` Returns a Collection of Instance objects Returns a Collection of Instance objects #### Parameters $params `array` $params #### Returns ``OpenCloud\Common\Collection\PaginatedIterator``

Methods inherited from OpenCloud\Common\Service\NovaService
`flavor(), flavorList(), loadNamespaces()`

Methods inherited from OpenCloud\Common\Service\CatalogService
`__construct(), getBaseUrl(), getExtensions(), getName(), getRegion(), getType(), getUrl(), getUrlType(), limits()`

Methods inherited from OpenCloud\Common\Service\AbstractService
`collection(), getClient(), getCurrentNamespace(), getEndpoint(), getNamespaces(), getResources(), resolveResourceClass(), resource(), resourceList(), setClient(), setEndpoint()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), 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\CatalogService
`DEFAULT_URL_TYPE`

Properties inherited from OpenCloud\Common\Service\CatalogService
`$regionless`

Properties inherited from OpenCloud\Common\Service\AbstractService
`$client, $endpoint, $namespaces, $resources`

Properties inherited from OpenCloud\Common\Base
`$aliases`