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 implements OpenCloud\Common\Service\ServiceInterface
Indirect known subclasses
OpenCloud\Autoscale\Service, OpenCloud\CloudMonitoring\Service, OpenCloud\ObjectStore\Service, OpenCloud\Orchestration\Service, OpenCloud\Queues\Service, OpenCloud\Volume\Service, OpenCloud\Common\Service\NovaService, OpenCloud\Compute\Service, OpenCloud\Database\Service, OpenCloud\DNS\Service, OpenCloud\Image\Service, OpenCloud\LoadBalancer\Service, OpenCloud\ObjectStore\AbstractService, OpenCloud\ObjectStore\CDNService
Abstract
Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/AbstractService.php
Namespace: OpenCloud\Common\Service
Located at OpenCloud/Common/Service/AbstractService.php
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
protected
type
|
|
protected
string
|
|
public
object
|
|
public
|
#
resourceList( string $resourceName, string|null $url = null, string|null $parent = null )
Factory method for instantiating a resource collection. |
public
|
|
public
array
|
getUrl()
|
protected
|
$client |
|
#
The client which interacts with the API. |
protected
|
$endpoint |
|
#
The endpoint for this service. |
protected
array
|
$resources | array() |
#
A collection of resource models that this service has control over. |
protected
array
|
$namespaces | array() |
#
Namespaces for this service. |
$aliases
|