New-vROPSNotification¶
Synopsis¶
Create notifications in VMware Aria Operations.
Syntax¶
New-vROPSNotification [-jsonPath] <String> [-alertPluginName] <String> [-emailAddress] <String> [-notificationInterval] <String> [-notificationMax] <String> [-notificationDelay] <String> [<CommonParameters>]
Description¶
The New-vROPSNotification
cmdlet creates notifications in VMware Aria Operations
Examples¶
Example 1¶
New-vROPSNotification -jsonPath .\SampleNotifications\aria-operations-notifications-vcf.json -alertPluginName Email-Alert-Plugin -emailAddress administrator@rainpole.io -notificationInterval 15 -notificationMax 3 -notificationDelay 15
This example adds all the notifications in the json file to VMware Aria Operations using an email based alert plugin.
Parameters¶
-jsonPath¶
The path to the JSON file containing the notifications to add.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-alertPluginName¶
The name of the alert plugin in VMware Aria Operations.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-emailAddress¶
The email address to be configured on the alert.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-notificationInterval¶
The interval to resend the email if the alert has not been resolved (in minutes).
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-notificationMax¶
The maximum number of emails to send if the alert has not been resolved.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-notificationDelay¶
The time to wait before sending an email if the alert has not been resolved (in minutes).
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Common Parameters¶
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.