Supported Actions of the Alarm Rule Management APIs¶
Permission | API | Action | IAM Project | Enterprise Project |
---|---|---|---|---|
Query the alarm rule list. You can specify the paging parameters to limit the number of query results displayed on a page. You can also set the sorting order of query results. | GET /V1.0/{project_id}/alarms | ces:alarms:list | Y | Y |
Query an alarm rule based on the alarm rule ID. | GET /V1.0/{project_id}/alarms/{alarm_id} | ces:alarms:get | Y | Y |
Enable or disable an alarm rule. | PUT /V1.0/{project_id}/alarms/{alarm_id}/action | ces:alarmsOnOff:put | Y | Y |
Delete an alarm rule. | DELETE /V1.0/{project_id}/alarms/{alarm_id} | ces:alarms:delete | Y | Y |
Create an alarm rule. | POST /V1.0/{project_id}/alarms | ces:alarms:create | Y | Y |