Click or drag to resize

SetSnmpTrapInfoRequest Class

SetSnmpTrapInfoRequest You can use SetSnmpTrapInfo to enable and disable the generation of cluster SNMP notifications (traps) and to specify the set of network host computers that receive the notifications. The values you pass with each SetSnmpTrapInfo method call replace all values set in any previous call to SetSnmpTrapInfo.
Inheritance Hierarchy
SystemObject
  SolidFire.CoreRpcBase
    SolidFire.Element.ApiSetSnmpTrapInfoRequest

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public class SetSnmpTrapInfoRequest : RpcBase

The SetSnmpTrapInfoRequest type exposes the following members.

Constructors
  NameDescription
Public methodSetSnmpTrapInfoRequest
Initializes a new instance of the SetSnmpTrapInfoRequest class
Top
Properties
  NameDescription
Public propertyClusterEventTrapsEnabled
If the value is set to true, a corresponding solidFireClusterEventNotification is sent to the configured list of trap recipients when a cluster event is logged. The default value is false.
Public propertyClusterFaultResolvedTrapsEnabled
If the value is set to true, a corresponding solidFireClusterFaultResolvedNotification is sent to the configured list of trap recipients when a cluster fault is resolved. The default value is false.
Public propertyClusterFaultTrapsEnabled
If the value is set to true, a corresponding solidFireClusterFaultNotification is sent to the configured list of trap recipients when a cluster fault is logged. The default value is false.
Public propertyTrapRecipients
List of hosts that are to receive the traps generated by the Cluster Master. At least one object is required if any one of the trap types is enabled.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Builds a json-enabled string of all the properties and their values in this class.
(Inherited from RpcBase.)
Top
See Also