Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

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[]>] [-WhatI
f] [-Confirm] [<CommonParameters>]


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 Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
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
NetApp.Ontapi.Filer.C.Ems810.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







 Data ONTAP® PowerShell Toolkit