# Data Object - AlarmTriggeringAction(vim.alarm.AlarmTriggeringAction)

Extends
  AlarmAction
See also
  Action, AlarmTriggeringActionTransitionSpec
Since
  2.0

## Data Object Description

This data object type describes one or more triggering transitions and an action to be done when an alarm is triggered.

There are four triggering transitions; at least one of them must be provided. A gray state is considered the same as a green state, for the purpose of detecting transitions.

Properties

Name | Type | Description
--- | --- | ---
action | Action | The action to be done when the alarm is triggered.
green2yellow | xsd:boolean | Deprecated. As of vSphere API 4.0, use AlarmTriggeringActionTransitionSpec . Flag to specify that the alarm should trigger on a transition from green to yellow.
red2yellow | xsd:boolean | Deprecated. As of vSphere API 4.0, use AlarmTriggeringActionTransitionSpec . Flag to specify that the alarm should trigger on a transition from red to yellow.
transitionSpecs* | AlarmTriggeringActionTransitionSpec[] | Indicates on which transitions this action executes and repeats. This is optional only for backwards compatibility. Since vSphere API 4.0
yellow2green | xsd:boolean | Deprecated. As of vSphere API 4.0, use AlarmTriggeringActionTransitionSpec . Flag to specify that the alarm should trigger on a transition from yellow to green.
yellow2red | xsd:boolean | Deprecated. As of vSphere API 4.0, use AlarmTriggeringActionTransitionSpec . Flag to specify that the alarm should trigger on a transition from yellow to red.
Properties inherited from AlarmAction
None
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="AlarmTriggeringAction"> <complexContent> <extension base="vsan:AlarmAction"> <sequence> <element name="action" type="vsan:Action"/> <element name="transitionSpecs" type="vsan:AlarmTriggeringActionTransitionSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="green2yellow" type="xsd:boolean"/> <element name="yellow2red" type="xsd:boolean"/> <element name="red2yellow" type="xsd:boolean"/> <element name="yellow2green" type="xsd:boolean"/> </sequence> </extension> </complexContent> </complexType>