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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_hostmacro.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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_nameString

Returns Name of the host.

Returns:

  • (String)

    Name of the host.



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

attribute :host_name

#http_login_passwordObject?

Returns Basic Auth password.

Returns:

  • (Object, nil)

    Basic Auth password



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

attribute :http_login_password

#http_login_userObject?

Returns Basic Auth login.

Returns:

  • (Object, nil)

    Basic Auth login



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

attribute :http_login_user

#login_passwordString

Returns Zabbix user password.

Returns:

  • (String)

    Zabbix user password.



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

attribute :login_password

#login_userString

Returns Zabbix user name.

Returns:

  • (String)

    Zabbix user name.



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

attribute :login_user

#macro_nameString

Returns Name of the host macro.

Returns:

  • (String)

    Name of the host macro.



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

attribute :macro_name

#macro_valueString

Returns Value of the host macro.

Returns:

  • (String)

    Value of the host macro.



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

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).



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.

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.



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

attribute :state

#timeoutInteger?

Returns The timeout of API request (seconds).

Returns:

  • (Integer, nil)

    The timeout of API request (seconds).



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

attribute :timeout