Class: Ansible::Ruby::Modules::Rax_mon_notification_plan

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb

Overview

Create or delete a Rackspace Cloud Monitoring notification plan by associating existing rax_mon_notifications with severity levels. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check -> rax_mon_notification -> rax_mon_notification_plan -> rax_mon_alarm

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#critical_stateObject?

Returns Notification list to use when the alarm state is CRITICAL. Must be an array of valid rax_mon_notification ids.

Returns:

  • (Object, nil)

    Notification list to use when the alarm state is CRITICAL. Must be an array of valid rax_mon_notification ids.



20
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb', line 20

attribute :critical_state

#labelObject

Returns Defines a friendly name for this notification plan. String between 1 and 255 characters long.

Returns:

  • (Object)

    Defines a friendly name for this notification plan. String between 1 and 255 characters long.



16
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb', line 16

attribute :label

#ok_stateObject?

Returns Notification list to use when the alarm state is OK. Must be an array of valid rax_mon_notification ids.

Returns:

  • (Object, nil)

    Notification list to use when the alarm state is OK. Must be an array of valid rax_mon_notification ids.



26
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb', line 26

attribute :ok_state

#state:present, ...

Returns Ensure that the notification plan with this C(label) exists or does not exist.

Returns:

  • (:present, :absent, nil)

    Ensure that the notification plan with this C(label) exists or does not exist.



12
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb', line 12

attribute :state

#warning_stateObject?

Returns Notification list to use when the alarm state is WARNING. Must be an array of valid rax_mon_notification ids.

Returns:

  • (Object, nil)

    Notification list to use when the alarm state is WARNING. Must be an array of valid rax_mon_notification ids.



23
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb', line 23

attribute :warning_state