Class AbstractService
This class defines a cloud service; a relationship between a specific OpenStack and a provided service, represented by a URL in the service catalog.
Because Service is an abstract class, it cannot be called directly. Provider services such as Rackspace Cloud Servers or OpenStack Swift are each subclassed from Service.
- OpenCloud\Common\Base
-
OpenCloud\Common\Service\AbstractService
Direct known subclasses
OpenCloud\Autoscale\Service, OpenCloud\CloudMonitoring\Service, OpenCloud\Common\Service\NovaService, OpenCloud\DNS\Service, OpenCloud\ObjectStore\AbstractService, OpenCloud\Orchestration\Service, OpenCloud\Queues\ServiceIndirect known subclasses
OpenCloud\Compute\Service, OpenCloud\Database\Service, OpenCloud\LoadBalancer\Service, OpenCloud\ObjectStore\CDNService, OpenCloud\ObjectStore\Service, OpenCloud\Volume\Service
Abstract
Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/AbstractService.php
Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/AbstractService.php
public
|
#
__construct(
Creates a service object, based off the specified client. |
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
Guzzle\Http\Url
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
|
|
protected
type
|
|
protected
string
|
|
public
object
|
|
public
OpenCloud\Common\Collection
|
#
resourceList( string $resourceName, string|null $url = null, string|null $parent = null )
Factory method for instantiating a resource collection. |
public
Guzzle\Http\Url
|
|
public
|
string |
DEFAULT_REGION
|
'DFW' |
|
string |
DEFAULT_URL_TYPE
|
'publicURL' |
protected
|
$client |
|
#
The client which interacts with the API. |
protected
array
|
$namespaces | array() |
#
Namespaces for this service. |
protected
array
|
$resources | array() |
#
A collection of resource models that this service has control over. |