Queries the edition specifications for Anti-DDoS for DCDN.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnDdosSpecInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Edition |
string |
The edition. Valid values:
|
insurance |
| RequestId |
string |
The request ID. |
DEA8E7BE-33C6-56F5-AC56-74D50547CF34 |
| Enable |
string |
Indicates whether the Anti-DDoS service is enabled. Valid values:
|
on |
| ProtectedArea |
string |
The protected region. Valid values:
|
global |
| BandwidthLimit |
string |
The bandwidth limit for a single instance. |
40Gbps |
| QpsLimit |
string |
The queries per second (QPS) limit. |
100 |
| SpecInfos |
array<object> |
The supported rule codes and the configurations of the rules. |
|
|
object |
The supported rule codes and the configurations of the rules. |
||
| Rule |
string |
The rule of the edition. Valid values:
|
version_defense_num |
| Configs |
array<object> |
The configurations of the rule. |
|
|
object |
The configurations of the rule. |
||
| Value |
string |
The value of the configuration expression for the rule. |
1 |
| Config |
string |
The configuration code for the rule. Valid values:
|
total_defense_num |
| Expr |
string |
The configuration expression of the rule. |
equal |
| IsSpecialPort |
string |
Indicates whether custom ports are supported. Valid values:
|
no |
Examples
Success response
JSON format
{
"Edition": "insurance",
"RequestId": "DEA8E7BE-33C6-56F5-AC56-74D50547CF34",
"Enable": "on",
"ProtectedArea": "global",
"BandwidthLimit": "40Gbps",
"QpsLimit": "100",
"SpecInfos": [
{
"Rule": "version_defense_num",
"Configs": [
{
"Value": "1",
"Config": "total_defense_num",
"Expr": "equal"
}
]
}
],
"IsSpecialPort": "no"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
| 500 | InternalError | An internal error occurred; please try again later. | An internal error occurred. Try again later. If the error persists, submit a ticket. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.