Skip to content

New-vRLIAlert

Synopsis

Create an alert

Syntax

New-vRLIAlert [-json] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The New-vRLIAlert cmdlet creates an alert in VMware Aria Operations for Logs.

Examples

Example 1

New-vRLIAlert -json (Get-Content -Raw .\vrliAlert.json)

This example creates an alert in VMware Aria Operations for Logs based on the contents of the JSON.

Parameters

-json

The JSON configuration of the alert to create.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
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.