Updated on 2024-05-14 GMT+08:00

Alarm APIs

√: supported; x: not supported

Table 1 Alarm APIs

Permission

API

Action

IAM Project

Enterprise Project

Adding an event alarm rule

POST /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:create

×

Querying the event alarm rule list

GET /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:list

×

Modifying an event alarm rule

PUT /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:set

×

Deleting an event alarm rule

DELETE /v2/{project_id}/event2alarm-rule

aom:event2AlarmRule:delete

×

Obtaining the sent alarm content

GET /v2/{project_id}/alarm-notified-histories

aom:alarm:list

×

Deleting a silence rule

DELETE /v2/{project_id}/alert/mute-rules

aom:muteRule:delete

Adding a silence rule

POST /v2/{project_id}/alert/mute-rules

aom:muteRule:create

Modifying a silence rule

PUT /v2/{project_id}/alert/mute-rules

aom:muteRule:update

Querying the silence rule list

GET /v2/{project_id}/alert/mute-rules

aom:muteRule:list

Querying an alarm action rule by name

GET /v2/{project_id}/alert/action-rules/{rule_name}

aom:actionRule:get

Adding an alarm action rule

POST /v2/{project_id}/alert/action-rules

aom:actionRule:create

Deleting an alarm action rule

DELETE /v2/{project_id}/alert/action-rules

aom:actionRule:delete

Modifying an alarm action rule

PUT /v2/{project_id}/alert/action-rules

aom:actionRule:update

Querying the alarm rule list

GET /v2/{project_id}/alert/action-rules

aom:actionRule:list

Querying events and alarms

POST /v2/{project_id}/events

aom:alarm:list

×

Counting events and alarms

POST /v2/{project_id}/events/statistic

aom:alarm:list

×

Reporting events and alarms

PUT /v2/{project_id}/push/events

aom:alarm:put

×