# Class Alarm

Alarm class.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\CloudMonitoring\Resource\AbstractResource
  OpenCloud\CloudMonitoring\Resource\Alarm

Namespace: OpenCloud\CloudMonitoring\Resource
Located at OpenCloud/CloudMonitoring/Resource/Alarm.php

Methods summary
`public` | # `test( boolean $params = array(), mixed $debug = false )` Test the validity of an existing resource. Test the validity of an existing resource. #### Parameters $params `boolean` $debug (default: false) $debug #### Overrides `OpenCloud\CloudMonitoring\Resource\AbstractResource::test()`
`public` | # `getHistoryUrl( )`
`public` | # `getRecordedChecks( )`
`public` | # `getNotificationHistoryForCheck( mixed $checkId )`
`public` | # `getNotificationHistoryItem( mixed $checkId, mixed $uuid )`
`public` | # `notificationHistory( mixed $info )`
`public` | # `isDisabled( )`

Methods inherited from OpenCloud\CloudMonitoring\Resource\AbstractResource
`createJson(), listAll(), 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 | `'alarms'` | #
`protected static array` | $requiredKeys | `array( 'check_id', 'notification_plan_id' )` | #
`protected static array` | $emptyObject | `array( 'check_id', 'notification_plan_id', 'criteria', 'disabled', 'label', 'metadata' )` | #

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$metadata, $parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`