Class: Ansible::Ruby::Modules::Ce_info_center_trap

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

Overview

Manages information center trap configurations on HUAWEI CloudEngine switches.

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

#channel_idObject?

Returns Number of a channel. The value is an integer ranging from 0 to 9. The default value is 0.

Returns:

  • (Object, nil)

    Number of a channel. The value is an integer ranging from 0 to 9. The default value is 0.



30
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 30

attribute :channel_id

#module_nameObject?

Returns Module name of the rule. The value is a string of 1 to 31 case-insensitive characters. The default value is default. Please use lower-case letter, such as [aaa, acl, arp, bfd].

Returns:

  • (Object, nil)

    Module name of the rule. The value is a string of 1 to 31 case-insensitive characters. The default value is default. Please use lower-case letter, such as [aaa, acl, arp, bfd].



27
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 27

attribute :module_name

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 12

attribute :state

#trap_buff_enable:no_use, ...

Returns Whether a trap buffer is enabled to output information.

Returns:

  • (:no_use, :true, :false, nil)

    Whether a trap buffer is enabled to output information.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 20

attribute :trap_buff_enable

#trap_buff_sizeObject?

Returns Size of a trap buffer. The value is an integer ranging from 0 to 1024. The default value is 256.

Returns:

  • (Object, nil)

    Size of a trap buffer. The value is an integer ranging from 0 to 1024. The default value is 256.



24
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 24

attribute :trap_buff_size

#trap_enable:no_use, ...

Returns Whether a device is enabled to output alarms.

Returns:

  • (:no_use, :true, :false, nil)

    Whether a device is enabled to output alarms.



33
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 33

attribute :trap_enable

#trap_level:emergencies, ...

Returns Trap level permitted to output.

Returns:

  • (:emergencies, :alert, :critical, :error, :warning, :notification, :informational, :debugging, nil)

    Trap level permitted to output.



37
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 37

attribute :trap_level

#trap_time_stamp:date_boot, ...

Returns Timestamp format of alarm information.

Returns:

  • (:date_boot, :date_second, :date_tenthsecond, :date_millisecond, :shortdate_second, :shortdate_tenthsecond, :shortdate_millisecond, :formatdate_second, :formatdate_tenthsecond, :formatdate_millisecond, nil)

    Timestamp format of alarm information.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_info_center_trap.rb', line 16

attribute :trap_time_stamp