Queries the number of alert rules in each state.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Namespace | string | No | The namespace of the service. For more information, see Appendix 1: Metrics. | acs_ecs_dashboard |
MetricName | string | No | The name of the metric. For more information, see Appendix 1: Metrics. | cpu_total |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "The Request is not authorization.",
"RequestId": "FF38D33A-67C1-40EB-AB65-FAEE51EDB644",
"Success": true,
"MetricRuleCount": {
"Ok": 40,
"Nodata": 0,
"Disable": 0,
"Total": 45,
"Alarm": 5
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | %s | %s |
402 | LimitExceeded | The quota for this customer had been reached. |
429 | Throttli∂ngException | The request was denied due to request throttling. |
500 | InternalError | The request processing has failed due to some unknown error. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history