Class: Ansible::Ruby::Modules::Rax_mon_notification_plan
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_mon_notification_plan
- 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
-
#critical_state ⇒ Object?
Notification list to use when the alarm state is CRITICAL.
-
#label ⇒ Object
Defines a friendly name for this notification plan.
-
#ok_state ⇒ Object?
Notification list to use when the alarm state is OK.
-
#state ⇒ :present, ...
Ensure that the notification plan with this C(label) exists or does not exist.
-
#warning_state ⇒ Object?
Notification list to use when the alarm state is WARNING.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#critical_state ⇒ Object?
Returns 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 |
#label ⇒ Object
Returns 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_state ⇒ Object?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification_plan.rb', line 12 attribute :state |
#warning_state ⇒ Object?
Returns 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 |