Class: Ansible::Ruby::Modules::Rax_mon_alarm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_mon_alarm
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb
Overview
Create or delete a Rackspace Cloud Monitoring alarm that associates an existing rax_mon_entity, rax_mon_check, and rax_mon_notification_plan with criteria that specify what conditions will trigger which levels of notifications. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check -> rax_mon_notification -> rax_mon_notification_plan -> rax_mon_alarm
Instance Method Summary collapse
-
#check_id ⇒ Object
ID of the check that should be alerted on.
-
#criteria ⇒ Object?
Alarm DSL that describes alerting conditions and their output states.
-
#disabled ⇒ Object?
If yes, create this alarm, but leave it in an inactive state.
-
#entity_id ⇒ Object
ID of the entity this alarm is attached to.
-
#label ⇒ Object
Friendly name for this alarm, used to achieve idempotence.
-
#metadata ⇒ Object?
Arbitrary key/value pairs to accompany the alarm.
-
#notification_plan_id ⇒ Object
ID of the notification plan to trigger if this alarm fires.
-
#state ⇒ :present, ...
Ensure that the alarm with this C(label) exists or does not exist.
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
#check_id ⇒ Object
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 24 attribute :check_id |
#criteria ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 32 attribute :criteria |
#disabled ⇒ Object?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 35 attribute :disabled |
#entity_id ⇒ Object
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 20 attribute :entity_id |
#label ⇒ Object
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 16 attribute :label |
#metadata ⇒ Object?
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 38 attribute :metadata |
#notification_plan_id ⇒ Object
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 28 attribute :notification_plan_id |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_alarm.rb', line 12 attribute :state |