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
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, #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.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 28 attribute :host_name |
#http_login_password ⇒ Object?
Returns Basic Auth password.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 25 attribute :http_login_password |
#http_login_user ⇒ Object?
Returns Basic Auth login.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 22 attribute :http_login_user |
#login_password ⇒ String
Returns Zabbix user password.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 18 attribute :login_password |
#login_user ⇒ String
Returns Zabbix user name.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 14 attribute :login_user |
#macro_name ⇒ String
Returns Name of the host macro.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 32 attribute :macro_name |
#macro_value ⇒ String
Returns Value of the host macro.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 36 attribute :macro_value |
#server_url ⇒ String
Returns Url of Zabbix server, with protocol (http or https).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 10 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.
40 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 40 attribute :state |
#timeout ⇒ Integer?
Returns The timeout of API request (seconds).
44 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 44 attribute :timeout |