Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Agent
  • AgentConnection
  • AgentHost
  • AgentHostInfo
  • AgentTarget
  • AgentToken
  • Alarm
  • Changelog
  • Check
  • CheckType
  • Entity
  • Metric
  • Notification
  • NotificationHistory
  • NotificationType
  • ReadOnlyResource
  • View
  • Zone
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Check

Check class.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\Common\PersistentObject
Extended by OpenCloud\CloudMonitoring\Resource\AbstractResource
Extended by OpenCloud\CloudMonitoring\Resource\Check
Namespace: OpenCloud\CloudMonitoring\Resource
Located at OpenCloud/CloudMonitoring/Resource/Check.php
Methods summary
public
# testUrl( mixed $debug = false )
public
# testExistingUrl( mixed $debug = false )
public
# getMetrics( )
public
# getMetric( mixed $info = null )
public mixed
# fetchDataPoints( string $metricName, array $options = array() )

Fetch particular data points.

Fetch particular data points.

Parameters

$metricName
string
$metricName
$options
array
$options

Returns

mixed

Throws

OpenCloud\CloudMonitoring\Exception\MetricException
Methods inherited from OpenCloud\CloudMonitoring\Resource\AbstractResource
createJson(), listAll(), test(), testParams(), updateJson()
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(), create(), delete(), getAlias(), noCreate(), noDelete(), noUpdate(), refresh(), refreshFromLocationUrl(), update(), waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Properties summary
protected static boolean $json_name false
#
protected static string $json_collection_name 'values'
#
protected static string $url_resource 'checks'
#
protected static array $emptyObject array( 'type', 'details', 'disabled', 'label', 'period', 'timeout', 'monitoring_zones_poll', 'target_alias', 'target_hostname', 'target_resolver' )
#
protected static array $requiredKeys array('type')
#
protected array $associatedResources array('CheckType' => 'CheckType')
#
protected array $dataPointParams array( 'from', 'to', 'points', 'resolution', 'select' )
#
Properties inherited from OpenCloud\Common\Resource\BaseResource
$metadata, $parent, $service
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0