Class: Ansible::Ruby::Modules::Snmp_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Snmp_facts
- Defined in:
- lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb
Instance Method Summary collapse
-
#authkey ⇒ String?
Authentication key, required if version is v3.
-
#community ⇒ String?
The SNMP community string, required if version is v2/v2c.
-
#host ⇒ String
Set to target snmp server (normally {inventory_hostname}).
-
#integrity ⇒ :md5, ...
Hashing algoritm, required if version is v3.
-
#level ⇒ :authPriv, ...
Authentication level, required if version is v3.
-
#privacy ⇒ :des, ...
Encryption algoritm, required if level is authPriv.
-
#privkey ⇒ String?
Encryption key, required if version is authPriv.
-
#username ⇒ String?
Username for SNMPv3, required if version is v3.
-
#version ⇒ :v2, ...
SNMP Version to use, v2/v2c or v3.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#authkey ⇒ String?
Returns Authentication key, required if version is v3.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 34 attribute :authkey |
#community ⇒ String?
Returns The SNMP community string, required if version is v2/v2c.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 18 attribute :community |
#host ⇒ String
Returns Set to target snmp server (normally {inventory_hostname}).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 10 attribute :host |
#integrity ⇒ :md5, ...
Returns Hashing algoritm, required if version is v3.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 30 attribute :integrity |
#level ⇒ :authPriv, ...
Returns Authentication level, required if version is v3.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 22 attribute :level |
#privacy ⇒ :des, ...
Returns Encryption algoritm, required if level is authPriv.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 38 attribute :privacy |
#privkey ⇒ String?
Returns Encryption key, required if version is authPriv.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 42 attribute :privkey |
#username ⇒ String?
Returns Username for SNMPv3, required if version is v3.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 26 attribute :username |
#version ⇒ :v2, ...
Returns SNMP Version to use, v2/v2c or v3.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/network/snmp_facts.rb', line 14 attribute :version |