# Data Object - TaskReasonAlarm(vim.TaskReasonAlarm)

Extends
  TaskReason
See also
  Alarm, ManagedEntity

## Data Object Description

Indicates that the task was queued by an alarm.

Properties

Name | Type | Description
--- | --- | ---
alarm | ManagedObjectReference to a Alarm | The alarm object that queued the task.
alarmName | xsd:string | The name of the alarm that queued the task, retained in the history collector database.
entity | ManagedObjectReference to a ManagedEntity | The managed entity object on which the alarm is triggered.
entityName | xsd:string | The name of the managed entity on which the alarm is triggered, retained in the history collector database.
Properties inherited from TaskReason
None
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="TaskReasonAlarm"> <complexContent> <extension base="vsan:TaskReason"> <sequence> <element name="alarmName" type="xsd:string"/> <element name="alarm" type="vsan:ManagedObjectReference"/> <element name="entityName" type="xsd:string"/> <element name="entity" type="vsan:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>