API list
| Item | API | Description |
|---|---|---|
| 1 | GET /v2/meters List meters |
Lists meters, based on the specified query. |
| 2 | GET /v2/meters/{meter_name} List samples for meter |
Lists samples for the specified meter. |
| 3 | POST /v2/meters/{meter_name} Add samples to meter |
Add samples to the specified meter. |
| 4 | GET /v2/meters/{meter_name}/statistics Show meter statistics |
Retrieves sample statistics for samples of the specified meter based on the specified query. |
| 5 | GET /v2/alarms List alarms |
Lists alarms, based on the specified query. |
| 6 | POST /v2/alarms Create alarm |
Creates an alarm. |
| 7 | GET /v2/alarms/{alarm_id} Show alarm details |
Show details on the specified alarm. |
| 8 | PUT /v2/alarms/{alarm_id} Update alarm |
Updates the specified alarm. |
| 9 | DELETE /v2/alarms/{alarm_id} Delete alarm |
Deletes the specified alarm. |
| 10 | GET /v2/alarms/{alarm_id}/state Show alarm state |
Shows the state of the specified alarm. |
| 11 | PUT /v2/alarms/{alarm_id}/state Update alarm state |
Sets the state of the specified alarm. |
| 12 | GET /v2/alarms/{alarm_id}/history Show alarm history |
Show the history of the specified alarm, based on the specified query. |
| 13 | GET /v2/resources List resources |
Lists resources, based on the specified query. |
| 14 | GET /v2/resources/{resource_id} Show resource details |
Shows details on the specified resource. |
For details on the permissions and prohibitions of API access in each preset role, refer to "IaaS API Reference (API/Preset roles correspondence table)".