Class: Ansible::Ruby::Modules::Zabbix_hostmacro

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

Methods inherited from Base

#ansible_name, #to_h

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_nameString

Returns Name of the host.

Returns:

  • (String)

    Name of the host.



29
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 29

attribute :host_name

#http_login_passwordObject?

Returns Basic Auth password.

Returns:

  • (Object, nil)

    Basic Auth password



26
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 26

attribute :http_login_password

#http_login_userObject?

Returns Basic Auth login.

Returns:

  • (Object, nil)

    Basic Auth login



23
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 23

attribute :http_login_user

#login_passwordString

Returns Zabbix user password.

Returns:

  • (String)

    Zabbix user password.



19
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 19

attribute :login_password

#login_userString

Returns Zabbix user name.

Returns:

  • (String)

    Zabbix user name.



15
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 15

attribute :login_user

#macro_nameString

Returns Name of the host macro.

Returns:

  • (String)

    Name of the host macro.



33
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 33

attribute :macro_name

#macro_valueString

Returns Value of the host macro.

Returns:

  • (String)

    Value of the host macro.



37
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 37

attribute :macro_value

#server_urlString

Returns Url of Zabbix server, with protocol (http or https).

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    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

#timeoutInteger?

Returns The timeout of API request (seconds).

Returns:

  • (Integer, nil)

    The timeout of API request (seconds).



45
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb', line 45

attribute :timeout