Class Service
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
Direct known subclasses
OpenCloud\Autoscale\Service, OpenCloud\CloudMonitoring\Service, OpenCloud\Common\Nova, OpenCloud\DNS\Service, OpenCloud\ObjectStore\AbstractService, OpenCloud\Orchestration\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
Author: Glen Campbell <glen.campbell@rackspace.com>
Located at OpenCloud/Common/Service.php
Namespace: OpenCloud\Common
Author: Glen Campbell <glen.campbell@rackspace.com>
Located at OpenCloud/Common/Service.php
public
|
#
__construct(
Creates a service on the specified connection |
public
|
|
public
type
|
|
public
string
|
|
public
array
|
|
public
array
|
|
public
OpenCloud\HttpResult
|
|
public
|
#
collection( string $class, string $url = null, mixed $parent = null )
returns a collection of objects |
public
string
|
|
public
string
|
|
public
array
|
|
public
|
|
protected
type
|
|
protected
string
|
#
resolveResourceClass( string $resourceName )
Resolves fully-qualified classname for associated local resource. |
public
object
|
|
public
|
#
resourceList( string $resourceName, string|null $url = null, mixed $service = null )
Factory method for instantiate a resource collection. |
__set(),
checkJsonError(),
getHttpRequestObject(),
getLogger(),
makeQueryString(),
populate(),
setLogger(),
setProperty()
|
protected
mixed
|
$conn |
|
|
protected
array
|
$_namespaces | array() |