Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.08 KB

File metadata and controls

34 lines (28 loc) · 2.08 KB

IntersightClient::SnmpTrap

Properties

Name Type Description Notes
class_id String The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. [default to 'snmp.Trap']
object_type String The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. [default to 'snmp.Trap']
community String SNMP community group used for sending SNMP trap to other devices. Applicable only for SNMP v2c. [optional]
destination String Address to which the SNMP trap information is sent. [optional]
enabled Boolean Enables/disables the trap on the server If enabled, trap is active on the server. [optional][default to true]
port Integer Port used by the server to communicate with the trap destination. Enter a value between 1-65535. Reserved ports not allowed (22, 23, 80, 123, 389, 443, 623, 636, 2068, 3268, 3269). [optional][default to 162]
type String Type of trap which decides whether to receive a notification when a trap is received at the destination. * `Trap` - Do not receive notifications when trap is sent to the destination. * `Inform` - Receive notifications when trap is sent to the destination. This option is valid only for V2 users. [optional][default to 'Trap']
user String SNMP user for the trap. Applicable only to SNMPv3. [optional]
version String SNMP version used for the trap. * `V3` - SNMP v3 trap version notifications. * `V2` - SNMP v2 trap version notifications. [optional][default to 'V3']

Example

require 'intersight_client'

instance = IntersightClient::SnmpTrap.new(
  class_id: null,
  object_type: null,
  community: null,
  destination: null,
  enabled: null,
  port: null,
  type: null,
  user: null,
  version: null
)