Class: Ansible::Ruby::Modules::Icinga2_feature

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

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

#nameString

Returns This is the feature name to enable or disable.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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