警报 数据类型
简介
The alarm data type allows obtaining alarm information. Below are all the properties of the alarm data type.
属性
警报ID (int) The 警报ID property represents the unique identifier of the alarm in the platform. This identifier is automatically assigned when an alarm is created. ### DeviceID (int) The DeviceID property represents the unique identifier of the device that triggers the alarm. ### 端点ID (int) Unique identifier of the endpoint to which the alert corresponds. ### 警报TypeID (int) The 警报TypeID property indicates the type of alarm. ### 警报Type说明 (string) 说明 of the alarm type. Used only for listing or enumeration. ### 警报SeverityID (int)
Indicates the severity of the alarm. Corresponds to one of the following values:
- Information = 0: Informational, no severity;
- Low = 1: Low alarm severity;
- Medium = 2: Medium severity;
- High = 3: Critical alarm, high severity.
警报Severity说明 (string) 说明 of the alarm severity. ### Details (string) Details associated with the alarm. ### DateTimeCreated_UTC (string) Date and time of alarm creation (UTC) in String format. ### DateTimeClosed_UTC (string) Date and time of alarm closure (UTC) in String format. ### SequenceNumber (long) Sequence number associated with the alarm. The sequence number is updated with a higher number each time the alarm is modified in any way, including when it is closed. Each alarm is guaranteed to receive a number higher than any other.
警报
简介 本节 explains how to extract the definition of alarms generated from alerts in the Gear Studio platform, 使用 data extraction API. These...
获取一个 alarm by its ID
This API allows retrieving an alarm by its ID. Request GET /api/v2/alarms/{alarmID} HTTP/1.1 Host: gear.cloud.studio Authorization: Bearer {accessToken}...