Class: Ansible::Ruby::Modules::Sensu_subscription

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#backupSymbol?

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.

Returns:

  • (Symbol, nil)

    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

#nameString

Returns The name of the channel.

Returns:

  • (String)

    The name of the channel



12
# File 'lib/ansible/ruby/modules/generated/monitoring/sensu_subscription.rb', line 12

attribute :name

#pathString?

Returns Path to the subscriptions json file.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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