OpenCloud/CloudMonitoring/Service.php
Classes
Service
Properties
No
No
Description
The Rackspace Cloud Monitoring service.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.
Methods
Request, __construct, getConn, getResources, resource,Request( string $url, string $method = 'GET', array $headers = array(), mixed $body = null, ) : void
Description
Request function.Arguments
| Name | Type | Description | Default |
|---|---|---|---|
| $url | string | ||
| $method | string | (default: 'GET') |
'GET' |
| $headers | array | (default: array()) |
array() |
| $body | mixed | (default: null) |
null |
Return value
| Type | Description |
|---|---|
| void |
Tags
| Name | Description |
|---|---|
| access | public |
__construct( \OpenCloud\OpenStack $connection, mixed $serviceName, mixed $serviceRegion, mixed $urlType, ) : void
Description
Main service constructor.Arguments
| Name | Type | Description | Default |
|---|---|---|---|
| $connection | \OpenCloud\OpenStack | ||
| $serviceName | mixed | ||
| $serviceRegion | mixed | ||
| $urlType | mixed |
Return value
| Type | Description |
|---|---|
| void |
Tags
| Name | Description |
|---|---|
| access | public |
