# Class Check

Check class.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\CloudMonitoring\Resource\AbstractResource
  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`