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

Property of
  ManagedEntity
Returned by
  GetAlarmState
Extends
  DynamicData
See also
  Alarm, ManagedEntity, ManagedEntityStatus
Since
  2.0

## Data Object Description

Information about the alarm's state.

Properties

Name | Type | Description
--- | --- | ---
acknowledged* | xsd:boolean | Flag to indicate if the alarm's actions have been acknowledged for the associated ManagedEntity. Since vSphere API 4.0
acknowledgedByUser* | xsd:string | The user who acknowledged this triggering. If the triggering has not been acknowledged, then the value is not valid. Since vSphere API 4.0
acknowledgedTime* | xsd:dateTime | The time this triggering was acknowledged. If the triggering has not been acknowledged, then the value is not valid. Since vSphere API 4.0
alarm | ManagedObjectReference to a Alarm | Alarm object from which the AlarmState object is instantiated.
disabled* | xsd:boolean | Flag to indicate if the alarm is disabled for the associated ManagedEntity. Since vSphere API 6.9.1
entity | ManagedObjectReference to a ManagedEntity | Entity on which the alarm is instantiated.
eventKey* | xsd:int | Contains the key of the event that has triggered the alarm. The value is set only for event based alarms. The value is not set for gray or manually reset alarms (via vim.AlarmManager.setAlarmStatus). Since vSphere API 6.0
key | xsd:string | Unique key that identifies the alarm.
overallStatus | ManagedEntityStatus | Overall status of the alarm object. This is the value of the alarm's top-level expression. In releases after vSphere API 5.0, vSphere Servers might not generate property collector update notifications for this property. To obtain the latest value of the property, you can use PropertyCollector methods RetrievePropertiesEx or WaitForUpdatesEx. If you use the PropertyCollector.WaitForUpdatesEx method, specify an empty string for the version parameter. Since this property is on a DataObject, an update returned by WaitForUpdatesEx may contain values for this property when some other property on the DataObject changes. If this update is a result of a call to WaitForUpdatesEx with a non-empty version parameter, the value for this property may not be current.
time | xsd:dateTime | Time the alarm triggered.
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="AlarmState"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="entity" type="vsan:ManagedObjectReference"/> <element name="alarm" type="vsan:ManagedObjectReference"/> <element name="overallStatus" type="vsan:ManagedEntityStatus"/> <element name="time" type="xsd:dateTime"/> <element name="acknowledged" type="xsd:boolean" minOccurs="0"/> <element name="acknowledgedByUser" type="xsd:string" minOccurs="0"/> <element name="acknowledgedTime" type="xsd:dateTime" minOccurs="0"/> <element name="eventKey" type="xsd:int" minOccurs="0"/> <element name="disabled" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>