Class: Ansible::Ruby::Modules::Icinga2_feature
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Icinga2_feature
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/icinga2_feature.rb
Overview
This module can be used to enable or disable an Icinga2 feature.
Instance Method Summary collapse
-
#name ⇒ String
This is the feature name to enable or disable.
-
#state ⇒ :present, ...
If set to C(present) and feature is disabled, then feature is enabled.,If set to C(present) and feature is already enabled, then nothing is changed.,If set to C(absent) and feature is enabled, then feature is disabled.,If set to C(absent) and feature is already disabled, then nothing is changed.
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
#name ⇒ String
Returns This is the feature name to enable or disable.
12 |
# File 'lib/ansible/ruby/modules/generated/monitoring/icinga2_feature.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns If set to C(present) and feature is disabled, then feature is enabled.,If set to C(present) and feature is already enabled, then nothing is changed.,If set to C(absent) and feature is enabled, then feature is disabled.,If set to C(absent) and feature is already disabled, then nothing is changed.
16 |
# File 'lib/ansible/ruby/modules/generated/monitoring/icinga2_feature.rb', line 16 attribute :state |