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/extras/monitoring/zabbix_hostmacro.rb
Overview
manages Zabbix host macros, it can create, update or delete them.
Instance Method Summary collapse
-
#host_name ⇒ String
Name of the host.
-
#http_login_password ⇒ Object?
Basic Auth password.
-
#http_login_user ⇒ Object?
Basic Auth login.
-
#login_password ⇒ String
Zabbix user password.
-
#login_user ⇒ String
Zabbix user name.
-
#macro_name ⇒ String
Name of the host macro.
-
#macro_value ⇒ String
Value of the host macro.
-
#server_url ⇒ String
Url of Zabbix server, with protocol (http or https).
-
#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.
-
#timeout ⇒ Integer?
The timeout of API request (seconds).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#host_name ⇒ String
Returns Name of the host.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 29 attribute :host_name |
#http_login_password ⇒ Object?
Returns Basic Auth password.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 26 attribute :http_login_password |
#http_login_user ⇒ Object?
Returns Basic Auth login.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 23 attribute :http_login_user |
#login_password ⇒ String
Returns Zabbix user password.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 19 attribute :login_password |
#login_user ⇒ String
Returns Zabbix user name.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 15 attribute :login_user |
#macro_name ⇒ String
Returns Name of the host macro.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 33 attribute :macro_name |
#macro_value ⇒ String
Returns Value of the host macro.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 37 attribute :macro_value |
#server_url ⇒ String
Returns Url of Zabbix server, with protocol (http or https).
11 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 11 attribute :server_url |
#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.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 41 attribute :state |
#timeout ⇒ Integer?
Returns The timeout of API request (seconds).
45 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 45 attribute :timeout |