Alarm APIs
√: supported; x: not supported
| 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 or alarms | PUT /v2/{project_id}/push/events | aom:alarm:put | √ | × |
| Querying metric or event alarm rules | GET /v4/{project_id}/alarm-rules | aom:alarmRule:list | √ | √ |
| Adding or modifying metric or event alarm rules | POST /v4/{project_id}/alarm-rules | aom:alarmRule:create | √ | √ |
| Deleting metric or event alarm rules | DELETE /v4/{project_id}/alarm-rules | aom:alarmRule:delete NOTE: The resource type alarmRule of this action applies only to the DELETE /v4/{project_id}/alarm-rules API. | √ | √ |
| Adding a message template | POST /v2/{project_id}/events/notification/templates | aom:notificationTemplate:create | √ | √ |
| Deleting a message template | DELETE /v2/{project_id}/events/notification/templates | aom:notificationTemplate:delete | √ | √ |
| Modifying a message template | PUT /v2/{project_id}/events/notification/templates | aom:notificationTemplate:update | √ | √ |
| Querying the message template list | GET /v2/{project_id}/events/notification/templates | aom:notificationTemplate:list | √ | √ |
| Querying a message template based on the template name | GET /v2/{project_id}/events/notification/template/{name} | aom:notificationTemplate:get | √ | √ |
| Deleting an alarm template | DELETE /v4/{project_id}/alarm-rules-template | aom:alarmRule:delete | √ | √ |
| Querying the alarm template list | GET /v4/{project_id}/alarm-rules-template | aom:alarmRule:list | √ | √ |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.