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

Handles all of the requests dealing with notifications. More...

Inheritance diagram for CloudMonitorNotificationManager:
BaseManager

List of all members.

Public Member Functions

def create
 Defines a notification for handling an alarm.
def test_notification
 This allows you to test either an existing notification, or a potential notification before creating it.
def update_notification
 Updates the specified notification with the supplied details.
def list_types
 Returns a list of all available notification types.
def get_type
 Returns a CloudMonitorNotificationType object for the given ID.

Detailed Description

Handles all of the requests dealing with notifications.


Member Function Documentation

def create (   self,
  notification_type,
  label = None,
  name = None,
  details = None 
)

Defines a notification for handling an alarm.

def get_type (   self,
  notification_type_id 
)

Returns a CloudMonitorNotificationType object for the given ID.

def list_types (   self)

Returns a list of all available notification types.

def test_notification (   self,
  notification = None,
  notification_type = None,
  details = None 
)

This allows you to test either an existing notification, or a potential notification before creating it.

The actual notification comes from the same server where the actual alert messages come from. This allow you to, among other things, verify that your firewall is configured properly.

To test an existing notification, pass it as the 'notification' parameter and leave the other parameters empty. To pre-test a notification before creating it, leave 'notification' empty, but pass in the 'notification_type' and 'details'.

def update_notification (   self,
  notification,
  details 
)

Updates the specified notification with the supplied details.


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