Class: Ansible::Ruby::Modules::Logicmonitor_facts

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

Overview

LogicMonitor is a hosted, full-stack, infrastructure monitoring platform. This module collects facts about hosts and host groups within your LogicMonitor account.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#collectorObject?

Returns The fully qualified domain name of a collector in your LogicMonitor account.,This is optional for querying a LogicMonitor host when a displayname is specified.,This is required for querying a LogicMonitor host when a displayname is not specified.

Returns:

  • (Object, nil)

    The fully qualified domain name of a collector in your LogicMonitor account.,This is optional for querying a LogicMonitor host when a displayname is specified.,This is required for querying a LogicMonitor host when a displayname is not specified.



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

attribute :collector

#companyString

Returns The LogicMonitor account company name. If you would log in to your account at “superheroes.logicmonitor.com” you would use “superheroes”.

Returns:

  • (String)

    The LogicMonitor account company name. If you would log in to your account at “superheroes.logicmonitor.com” you would use “superheroes”.



17
# File 'lib/ansible/ruby/modules/generated/monitoring/logicmonitor_facts.rb', line 17

attribute :company

#displaynameString?

Returns The display name of a host in your LogicMonitor account or the desired display name of a device to add into monitoring.

Returns:

  • (String, nil)

    The display name of a host in your LogicMonitor account or the desired display name of a device to add into monitoring.



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

attribute :displayname

#fullpathString?

Returns The fullpath of the hostgroup object you would like to manage.,Recommend running on a single ansible host.,Required for management of LogicMonitor host groups (target=hostgroup).

Returns:

  • (String, nil)

    The fullpath of the hostgroup object you would like to manage.,Recommend running on a single ansible host.,Required for management of LogicMonitor host groups (target=hostgroup).



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

attribute :fullpath

#hostnameString?

Returns The hostname of a host in your LogicMonitor account, or the desired hostname of a device to add into monitoring.,Required for managing hosts (target=host).

Returns:

  • (String, nil)

    The hostname of a host in your LogicMonitor account, or the desired hostname of a device to add into monitoring.,Required for managing hosts (target=host).



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

attribute :hostname

#passwordArray<String>, String

Returns The password for the chosen LogicMonitor User.,If an md5 hash is used, the digest flag must be set to true.

Returns:

  • (Array<String>, String)

    The password for the chosen LogicMonitor User.,If an md5 hash is used, the digest flag must be set to true.



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

attribute :password

#target:host, :hostgroup

Returns The LogicMonitor object you wish to manage.

Returns:

  • (:host, :hostgroup)

    The LogicMonitor object you wish to manage.



13
# File 'lib/ansible/ruby/modules/generated/monitoring/logicmonitor_facts.rb', line 13

attribute :target

#userString

Returns A LogicMonitor user name. The module will authenticate and perform actions on behalf of this user.

Returns:

  • (String)

    A LogicMonitor user name. The module will authenticate and perform actions on behalf of this user.



21
# File 'lib/ansible/ruby/modules/generated/monitoring/logicmonitor_facts.rb', line 21

attribute :user