pyrax
Python Bindings for the Rackspace Cloud
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions
CloudMonitorAlarmManager Class Reference

Handles all of the alarm-specific requests. More...

Inheritance diagram for CloudMonitorAlarmManager:
_PaginationManager BaseManager

List of all members.

Public Member Functions

def create
 Creates an alarm that binds the check on the given entity with a notification plan.
def update
 Updates an existing alarm.

Detailed Description

Handles all of the alarm-specific requests.


Member Function Documentation

def create (   self,
  check,
  notification_plan,
  criteria = None,
  disabled = False,
  label = None,
  name = None,
  metadata = None 
)

Creates an alarm that binds the check on the given entity with a notification plan.

Note that the 'criteria' parameter, if supplied, should be a string representing the DSL for describing alerting conditions and their output states. Pyrax does not do any validation of these criteria statements; it is up to you as the developer to understand the language and correctly form the statement. This alarm language is documented online in the Cloud Monitoring section of http://docs.rackspace.com.

def update (   self,
  alarm,
  criteria = None,
  disabled = False,
  label = None,
  name = None,
  metadata = None 
)

Updates an existing alarm.

See the comments on the 'create()' method regarding the criteria parameter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties