Queries the cloud services for which the initiative alert feature is enabled.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|
The current API does not require request parameters
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "The Request is not authorization.",
"RequestId": "F82E6667-7811-4BA0-842F-5B2DC42BBAAD",
"Datapoints": "ecs,rds",
"Success": true,
"AllProductInitMetricRuleList": {
"AllProductInitMetricRule": [
{
"Product": "ecs",
"AlertInitConfigList": {
"AlertInitConfig": [
{
"MetricName": "cpu_total",
"EvaluationCount": "3",
"Namespace": "acs_rds_dashboard",
"Threshold": "90",
"Statistics": "Average",
"Period": "1m",
"Level": "CRITICAL",
"ComparisonOperator": "GreaterThanOrEqualToThreshold"
}
]
}
}
]
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | InvalidParameter | The specified parameter is not valid. |
403 | InvalidAuthorization | The Request is not authorization. |
406 | %s | %s |
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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2023-10-25 | The Error code has changed. The response structure of the API has changed | see changesets | ||||||||||||
|