Overview

Namespaces

  • None
  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Exceptions
      • Log
      • Request
        • Response
    • Compute
    • Database
    • DNS
    • LoadBalancer
      • Resources
    • ObjectStore
      • Resource
    • Orchestration
    • Volume
  • PHP

Classes

  • AbstractResource
  • Account
  • Agent
  • AgentConnection
  • AgentHost
  • AgentHostInfo
  • AgentTarget
  • AgentToken
  • Alarm
  • Changelog
  • Check
  • CheckType
  • Entity
  • Metric
  • Notification
  • NotificationHistory
  • NotificationPlan
  • NotificationType
  • ReadonlyResource
  • View
  • Zone

Interfaces

  • ResourceInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Alarm

Alarm class.

OpenCloud\Common\Base
Extended by OpenCloud\Common\PersistentObject
Extended by OpenCloud\CloudMonitoring\Resource\AbstractResource
Extended by OpenCloud\CloudMonitoring\Resource\Alarm implements OpenCloud\CloudMonitoring\Resource\ResourceInterface
Namespace: OpenCloud\CloudMonitoring\Resource
Extends: AbstractResource
Located at OpenCloud/CloudMonitoring/Resource/Alarm.php
Methods summary
public
# baseUrl( )

Implementation of

OpenCloud\CloudMonitoring\Resource\ResourceInterface::baseUrl()
public string
# createUrl( )

returns the URL used for Create

returns the URL used for Create

Returns

string

Overrides

OpenCloud\Common\PersistentObject::createUrl()
public
# test( array $params = array(), boolean $debug = false )

Test the validity of certain parameters for the resource.

Test the validity of certain parameters for the resource.

Parameters

$params
array
$params (default: array())
$debug
boolean
$debug (default: false)

Overrides

OpenCloud\CloudMonitoring\Resource\AbstractResource::test()
Methods inherited from OpenCloud\CloudMonitoring\Resource\AbstractResource
__construct(), createJson(), delete(), getProperty(), listAll(), refresh(), request(), testExisting(), update(), updateJson(), updateUrl(), url()
Methods inherited from OpenCloud\Common\PersistentObject
__set(), action(), checkExtension(), create(), customAction(), findLink(), getParent(), getService(), id(), jsonCollectionElement(), jsonCollectionName(), jsonName(), name(), noCreate(), noDelete(), noUpdate(), parent(), primaryKeyField(), region(), resourceName(), service(), setParent(), setService(), status(), waitFor()
Methods inherited from OpenCloud\Common\Base
checkJsonError(), getHttpRequestObject(), getLogger(), makeQueryString(), populate(), setLogger(), setProperty()
Properties summary
public mixed $id
#

Unique identifier

Unique identifier

public mixed $check_id
#
public mixed $notification_plan_id
#
public mixed $criteria
#
public mixed $disabled
#
public mixed $label
#
public mixed $metadata
#
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\CloudMonitoring\Resource\AbstractResource
$name
PHP OpenCloud API API documentation generated by ApiGen 2.8.0