vSphere PowerCLI Reference

Get-AlarmActionTrigger

Synopsis

Retrieves the actions that trigger the specified alarm actions.

Syntax

Get-AlarmActionTrigger [[-AlarmAction] <AlarmAction[]>] [<CommonParameters>]

Related Commands

Online version
Get-AlarmAction
Get-AlarmDefinition
New-AlarmAction
New-AlarmActionTrigger
Remove-AlarmAction
Remove-AlarmActionTrigger

Detailed Description

Retrieves the actions that trigger the specified alarm actions.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AlarmActionAlarmAction[]Filter the trigger actions by the alarm actions they trigger.falsetrue (ByValue)

Return Type

AlarmActionTrigger

Notes

Examples

-------------- Example 1 --------------

Get-AlarmAction -AlarmDefinition (Get-AlarmDefinition | select -First 1) | Get-AlarmActionTrigger

Retrieves the action triggers for the actions of the first returned alarm.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.