Click or drag to resize

SolidFireElementSetSnmpTrapInfoAsync Method (CancellationToken, Boolean, Boolean, Boolean, SnmpTrapRecipient)

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.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public Task<SetSnmpTrapInfoResult> SetSnmpTrapInfoAsync(
	CancellationToken cancellationToken,
	bool ClusterFaultTrapsEnabled,
	bool ClusterFaultResolvedTrapsEnabled,
	bool ClusterEventTrapsEnabled,
	SnmpTrapRecipient[] TrapRecipients = null
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
ClusterFaultTrapsEnabled
Type: SystemBoolean
ClusterFaultResolvedTrapsEnabled
Type: SystemBoolean
ClusterEventTrapsEnabled
Type: SystemBoolean
TrapRecipients (Optional)
Type: SolidFire.Element.ApiSnmpTrapRecipient

Return Value

Type: TaskSetSnmpTrapInfoResult

Implements

ISolidFireElementSetSnmpTrapInfoAsync(CancellationToken, Boolean, Boolean, Boolean, SnmpTrapRecipient)
See Also