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

getConn( ) : n/a

Return value

Type Description
n/a n/a

getResources( ) : void

Description

getResources function.

Return value

Type Description
void

Tags

Name Description
access public

resource( string   $resourceName, mixed   $info = null, ) : void

Description

Factory method for instantiating resource objects.

Arguments

Name Type Description Default
$resourceName string
$info mixed

(default: null)

null

Return value

Type Description
void

Tags

Name Description
access public

Properties

$resources,

mixed  private  $resources = array('Account', 'Agent', 'AgentConnection', 'AgentHost', 'AgentHostInfo', 'AgentTarget', 'AgentToken', 'Alarm', 'Changelog', 'Check', 'CheckType', 'Entity', 'Metric', 'Notification', 'NotificationHistory', 'NotificationPlan', 'NotificationType', 'View', 'Zone')

Cloud Monitoring resources.


Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages