You can call this operation to query configuration items in the general configuration for anomaly alerts.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeConfigs |
The operation that you want to perform. Set the value to DescribeConfigs. |
Lang | String | No | zh |
The language of the request and response. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ConfigList |
The list of configuration items in the general configuration for anomaly alerts. |
||
Code | Integer | 1 |
The code of the configuration item. |
DefaultValue | String | The output of a type of logs on the current day is less than 30% of the average output in the previous 10 days. |
The description of the default value for the configuration item. |
Description | String | Anomalous log output |
The description of the configuration item. |
Id | Long | 2133 |
The unique ID of the configuration item. |
Value | Long | 30 |
The value of the configuration item. |
RequestId | String | 769FB3C1-F4C9-42DF-9B72-7077A8989C13 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeConfigs
&<Common request parameters>
Sample success responses
XML
format
<DescribeConfigs>
<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>
<ConfigList>
<Code>2001</Code>
<DefaultValue>The output of a type of logs on the current day is less than 30% of the average output in the previous 10 days.</DefaultValue>
<Description>Anomalous log output</Description>
<Id>2133</Id>
<Value>10</Value>
</ConfigList>
</DescribeConfigs>
JSON
format
{
"RequestId":"769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"ConfigList":[
{
"Value":10,
"Description":"Anomalous log output",
"DefaultValue":"The output of a type of logs on the current day is less than 30% of the average output in the previous 10 days.",
"Id":2133,
"Code":1
}
]
}
Error codes
For a list of error codes, visit the API Error Center.