Class: Ansible::Ruby::Modules::Sensu_subscription
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sensu_subscription
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/sensu_subscription.rb
Overview
Manage which I(sensu channels) a machine should subscribe to
Instance Method Summary collapse
-
#backup ⇒ Symbol?
Create a backup file (if yes), including the timestamp information so you,can get the original file back if you somehow clobbered it incorrectly.
-
#name ⇒ String
The name of the channel.
-
#path ⇒ String?
Path to the subscriptions json file.
-
#state ⇒ :present, ...
Whether the machine should subscribe or unsubscribe from the channel.
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
#backup ⇒ Symbol?
Returns Create a backup file (if yes), including the timestamp information so you,can get the original file back if you somehow clobbered it incorrectly.
24 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_subscription.rb', line 24 attribute :backup |
#name ⇒ String
Returns The name of the channel.
12 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_subscription.rb', line 12 attribute :name |
#path ⇒ String?
Returns Path to the subscriptions json file.
20 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_subscription.rb', line 20 attribute :path |
#state ⇒ :present, ...
Returns Whether the machine should subscribe or unsubscribe from the channel.
16 |
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_subscription.rb', line 16 attribute :state |