All Products
Search
Document Center

Quota Center:Manage quota alerts of the new version by calling API operations

Last Updated:Jan 06, 2025

The quota alerting feature has been improved. The quota alerts of the new version are integrated with the alert capabilities of CloudMonitor. Therefore, you must call CloudMonitor API operations to create, modify, delete, or query a quota alert rule of the new version. This topic describes the mappings between the Quota Center API operations (old version) and the CloudMonitor API operations (new version). This topic also describes the related operations that you can perform based on quota alert rules.

Mappings between Quota Center API operations and CloudMonitor API operations

You can create, modify, delete, or query a quota alert rule of the new version by calling CloudMonitor API operations that are described in the following table.

Important

The first time you use the quota alerting feature of the new version, you must synchronize the usage data. Wait until the data is synchronized, which takes about 20 minutes. After the synchronization, the system saves current and future usage changes, but cannot save the data before the synchronization.

Quota Center API operation (old version)

CloudMonitor API operation (new version)

References

CreateQuotaAlarm

Create an alert rule for a quota item

UpdateQuotaAlarm

Modify an alert rule for a quota item

DeleteQuotaAlarm

Delete an alert rule created for a quota item

ListQuotaAlarms

DescribeMetricRuleList

View alert rules created for quota items and rule details

GetQuotaAlarm

DescribeMetricRuleList

View alert rules created for quota items and rule details

ListAlarmHistories

View the alert notification history of an alert rule for a quota item