|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NcEmsRoute
NAME
Set-NcEmsRoute
SYNOPSIS
Modify the specified EMS route.
SYNTAX
Set-NcEmsRoute [-Name] <String> [-Destinations <String[]>] [-FrequencyThresh
old <Int64>] [-TimeThreshold <Int64>] [-Controller <NcController[]>] [<Commo
nParameters>]
DESCRIPTION
Modify the specified EMS route.
PARAMETERS
-Name <String>
The name of the EMS message.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Destinations <String[]>
The event destinations.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-FrequencyThreshold <Int64>
Number of times an event occurs before a repeat notification of the even
t is sent.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-TimeThreshold <Int64>
Minimum number of seconds between repeat notifications of an event.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.Ems.EmsRoutingInfo
NOTES
Category: ems
API: ems-routing-modify
Family: cluster
-------------- Example 1 --------------
C:\PS>Set-NcEmsRoute app.log.info -Destinations @("asup")
Set the destination to "asup" for the EMS route for the message app.log.info
.
Action : (UNKNOWN)
Description : This event is issued when an application's mes
sage is meant for informational purposes.
Destinations : {asup}
FrequencyThreshold : 0
MessageName : app.log.info
Severity : informational
SnmpSupport : True
TimeThreshold : 0
RELATED LINKS
Get-NcEmsRoute
Update-NcEmsRoute
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|