Class: Ansible::Ruby::Modules::Rax_mon_notification
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_mon_notification
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification.rb
Overview
Create or delete a Rackspace Cloud Monitoring notification that specifies a channel that can be used to communicate alarms, such as email, webhooks, or PagerDuty. Rackspace monitoring module flow | rax_mon_entity -> rax_mon_check -> rax_mon_notification -> rax_mon_notification_plan -> rax_mon_alarm
Instance Method Summary collapse
-
#details ⇒ Object
Dictionary of key-value pairs used to initialize the notification.
-
#label ⇒ Object
Defines a friendly name for this notification.
-
#notification_type ⇒ :webhook, ...
A supported notification type.
-
#state ⇒ :present, ...
Ensure that the notification 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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#details ⇒ Object
Returns Dictionary of key-value pairs used to initialize the notification. Required keys and meanings vary with notification type. See docs.rackspace.com/cm/api/v1.0/cm-devguide/content/ service-notification-types-crud.html for details.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification.rb', line 24 attribute :details |
#label ⇒ Object
Returns Defines a friendly name for this notification. String between 1 and 255 characters long.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification.rb', line 16 attribute :label |
#notification_type ⇒ :webhook, ...
Returns A supported notification type.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification.rb', line 20 attribute :notification_type |
#state ⇒ :present, ...
Returns Ensure that the notification with this C(label) exists or does not exist.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_mon_notification.rb', line 12 attribute :state |