Class: Ansible::Ruby::Modules::Bigip_snmp_trap

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb

Overview

Manipulate SNMP trap information on a BIG-IP.

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

#communityString?

Returns Specifies the community name for the trap destination.

Returns:

  • (String, nil)

    Specifies the community name for the trap destination.



20
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 20

attribute :community

#destinationString?

Returns Specifies the address for the trap destination. This can be either an IP address or a hostname.

Returns:

  • (String, nil)

    Specifies the address for the trap destination. This can be either an IP address or a hostname.



24
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 24

attribute :destination

#nameString

Returns Name of the SNMP configuration endpoint.

Returns:

  • (String)

    Name of the SNMP configuration endpoint.



12
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 12

attribute :name

#network:other, ...

Returns Specifies the name of the trap network. This option is not supported in versions of BIG-IP < 12.1.0. If used on versions < 12.1.0, it will simply be ignored.,The value C(default) was removed in BIG-IP version 13.1.0. Specifying this value when configuring a BIG-IP will cause the module to stop and report an error. The usual remedy is to choose one of the other options, such as C(management).

Returns:

  • (:other, :management, :default, nil)

    Specifies the name of the trap network. This option is not supported in versions of BIG-IP < 12.1.0. If used on versions < 12.1.0, it will simply be ignored.,The value C(default) was removed in BIG-IP version 13.1.0. Specifying this value when configuring a BIG-IP will cause the module to stop and report an error. The usual remedy is to choose one of the other options, such as C(management).



32
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 32

attribute :network

#partitionString?

Returns Device partition to manage resources on.

Returns:

  • (String, nil)

    Device partition to manage resources on.



40
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 40

attribute :partition

#portInteger?

Returns Specifies the port for the trap destination.

Returns:

  • (Integer, nil)

    Specifies the port for the trap destination.



28
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 28

attribute :port

#snmp_version1, ...

Returns Specifies to which Simple Network Management Protocol (SNMP) version the trap destination applies.

Returns:

  • (1, :"2c", nil)

    Specifies to which Simple Network Management Protocol (SNMP) version the trap destination applies.



16
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 16

attribute :snmp_version

#state:present, ...

Returns When C(present), ensures that the resource exists.,When C(absent), ensures that the resource does not exist.

Returns:

  • (:present, :absent, nil)

    When C(present), ensures that the resource exists.,When C(absent), ensures that the resource does not exist.



36
# File 'lib/ansible/ruby/modules/generated/network/f5/bigip_snmp_trap.rb', line 36

attribute :state