Queries the automatic frequency control configuration for a site.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The ID of the site. Call the ListSites operation to obtain this ID. |
123456**** |
| SiteVersion |
integer |
No |
The version of the site. If versioning is enabled, use this parameter to specify the site version. The default value is 0. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| Enable |
string |
Indicates whether automatic frequency control is enabled. Valid values:
Valid values:
|
on |
| Level |
string |
The protection level. Valid values:
Valid values:
|
normal |
| ActionType |
string |
The action to perform. Valid values:
Valid values:
|
js |
| RuleId |
integer |
The rule ID. |
11957665 |
| Threshold |
integer |
The threshold that triggers the action. |
100 |
| Interval |
integer |
The statistics collection interval. |
10 |
| PunishTime |
integer |
The duration of the penalty, in seconds. |
20000000 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"Enable": "on",
"Level": "normal",
"ActionType": "js",
"RuleId": 11957665,
"Threshold": 100,
"Interval": 10,
"PunishTime": 20000000
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.