Class: Ansible::Ruby::Modules::Spectrum_device
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Spectrum_device
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb
Overview
This module allows you to create and delete devices in CA Spectrum U(www.ca.com/us/products/ca-spectrum.html). Tested on CA Spectrum 9.4.2, 10.1.1 and 10.2.1
Instance Method Summary collapse
-
#agentport ⇒ Integer?
UDP port used for SNMP discovery.
-
#community ⇒ String?
SNMP community used for device discovery.,Required when C(state=present).
-
#device ⇒ String
IP address of the device.,If a hostname is given, it will be resolved to the IP address.
-
#landscape ⇒ String
Landscape handle of the SpectroServer to which add or remove the device.
-
#state ⇒ :present, ...
On C(present) creates the device when it does not exist.,On C(absent) removes the device when it exists.
-
#url ⇒ Object
HTTP, HTTPS URL of the Oneclick server in the form (http|https)://host.domain.
-
#url_password ⇒ Object
Oneclick user password.
-
#url_username ⇒ Object
Oneclick user name.
-
#use_proxy ⇒ :yes, ...
If C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
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
#agentport ⇒ Integer?
Returns UDP port used for SNMP discovery.
49 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 49 attribute :agentport |
#community ⇒ String?
Returns SNMP community used for device discovery.,Required when C(state=present).
17 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 17 attribute :community |
#device ⇒ String
Returns IP address of the device.,If a hostname is given, it will be resolved to the IP address.
13 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 13 attribute :device |
#landscape ⇒ String
Returns Landscape handle of the SpectroServer to which add or remove the device.
21 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 21 attribute :landscape |
#state ⇒ :present, ...
Returns On C(present) creates the device when it does not exist.,On C(absent) removes the device when it exists.
25 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 25 attribute :state |
#url ⇒ Object
Returns HTTP, HTTPS URL of the Oneclick server in the form (http|https)://host.domain.
29 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 29 attribute :url |
#url_password ⇒ Object
Returns Oneclick user password.
37 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 37 attribute :url_password |
#url_username ⇒ Object
Returns Oneclick user name.
33 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 33 attribute :url_username |
#use_proxy ⇒ :yes, ...
Returns if C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
41 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 41 attribute :use_proxy |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
45 |
# File 'lib/ansible/ruby/modules/generated/monitoring/spectrum_device.rb', line 45 attribute :validate_certs |