调用DescribeDcdnDdosSpecInfo查询DCDN DDoS用户版本规格。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
dcdn:DescribeDcdnDdosSpecInfo |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Edition |
string |
版本。取值范围:
|
insurance |
| RequestId |
string |
请求 ID。 |
DEA8E7BE-33C6-56F5-AC56-74D50547CF34 |
| Enable |
string |
用户是否开启 DDoS 防护服务 。取值范围:
|
on |
| ProtectedArea |
string |
防护地区。取值范围:
|
global |
| BandwidthLimit |
string |
单实例限制带宽。 |
40Gbps |
| QpsLimit |
string |
QPS 限制。 |
100 |
| SpecInfos |
array<object> |
支持的规则代码及规则的配置信息。 |
|
|
object |
支持的规则代码及规则的配置信息。 |
||
| Rule |
string |
版本规则。取值范围:
|
version_defense_num |
| Configs |
array<object> |
版本规则对应的配置。 |
|
|
object |
版本规则对应的配置。 |
||
| Value |
string |
版本规则对应的配置表达式值。 |
1 |
| Config |
string |
版本规则对应的配置代码。取值范围:
|
total_defense_num |
| Expr |
string |
版本规则对应的配置表达式。 |
equal |
| IsSpecialPort |
string |
是否支持自定义端口。取值范围:
|
no |
示例
正常返回示例
JSON格式
{
"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"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 参数错误 |
| 500 | InternalError | An internal error occurred; please try again later. | 内部错误,请重试,如果多次重试报错请提交工单。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。