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

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

attr_option, attr_options, attribute, #initialize, #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.



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

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.



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

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.



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

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.



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

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.



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

attribute :warning_state