Class: Ansible::Ruby::Modules::Na_ontap_snmp

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_snmp.rb

Overview

Create/Delete SNMP community

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_controlString

Returns Access control for the community. The only supported value is ‘ro’ (read-only).

Returns:

  • (String)

    Access control for the community. The only supported value is ‘ro’ (read-only)



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_snmp.rb', line 12

attribute :access_control

#community_nameString

Returns The name of the SNMP community to manage.

Returns:

  • (String)

    The name of the SNMP community to manage.



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_snmp.rb', line 16

attribute :community_name

#state:present, ...

Returns Whether the specified SNMP community should exist or not.

Returns:

  • (:present, :absent, nil)

    Whether the specified SNMP community should exist or not.



20
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_snmp.rb', line 20

attribute :state