Class: Ansible::Ruby::Modules::Nxos_snmp_community

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

Overview

Manages SNMP community configuration.

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

#access:ro, ...

Returns Access type for community.

Returns:

  • (:ro, :rw, nil)

    Access type for community.



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_snmp_community.rb', line 16

attribute :access

#aclObject?

Returns ACL name to filter snmp requests or keyword ‘default’.

Returns:

  • (Object, nil)

    ACL name to filter snmp requests or keyword ‘default’.



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_snmp_community.rb', line 24

attribute :acl

#communityString

Returns Case-sensitive community string.

Returns:

  • (String)

    Case-sensitive community string.



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_snmp_community.rb', line 12

attribute :community

#groupString?

Returns Group to which the community belongs.

Returns:

  • (String, nil)

    Group to which the community belongs.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_snmp_community.rb', line 20

attribute :group

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



27
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_snmp_community.rb', line 27

attribute :state