Class: Ansible::Ruby::Modules::Zabbix_hostmacro
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Zabbix_hostmacro
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_hostmacro.rb
Overview
manages Zabbix host macros, it can create, update or delete them.
Instance Method Summary collapse
-
#force ⇒ :yes, ...
Only updates an existing macro if set to C(yes).
-
#host_name ⇒ String
Name of the host.
-
#macro_name ⇒ String
Name of the host macro.
-
#macro_value ⇒ String
Value of the host macro.
-
#state ⇒ :present, ...
State of the macro.,On C(present), it will create if macro does not exist or update the macro if the associated data is different.,On C(absent) will remove a macro if it exists.
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
#force ⇒ :yes, ...
Returns Only updates an existing macro if set to C(yes).
28 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_hostmacro.rb', line 28 attribute :force |
#host_name ⇒ String
Returns Name of the host.
12 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_hostmacro.rb', line 12 attribute :host_name |
#macro_name ⇒ String
Returns Name of the host macro.
16 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_hostmacro.rb', line 16 attribute :macro_name |
#macro_value ⇒ String
Returns Value of the host macro.
20 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_hostmacro.rb', line 20 attribute :macro_value |
#state ⇒ :present, ...
Returns State of the macro.,On C(present), it will create if macro does not exist or update the macro if the associated data is different.,On C(absent) will remove a macro if it exists.
24 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_hostmacro.rb', line 24 attribute :state |