调用DescribeDdosPeakFlow接口查询高防IP的攻击峰值。
调试
前往【API Explorer】在线调试,API Explorer 提供在线调用 API、动态生成 SDK Example 代码和快速检索接口等能力,能显著降低使用云 API 的难度,强烈推荐使用。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeDdosPeakFlow | 要执行的操作。取值:DescribeDdosPeakFlow。 |
Ip | String | 是 | 1.1.1.1 | 要查询的高防实例IP。 |
EndTime | Long | 否 | 1536893404 | 查询结束时间戳,单位为毫秒。 |
StartTime | Long | 否 | 1536891600 | 查询开始时间戳,单位为毫秒。 |
返回参数
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
PeakFlow | String | 8.36 | 攻击峰值,单位为G。 |
RequestId | String | C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E | 本次请求的ID。 |
示例
请求示例
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=DescribeDdosPeakFlow
&StartTime=1536891600
&EndTime=1536893404
&Ip=1.1.1.1
&公共请求参数
正常返回示例
XML
格式
<DescribeDdosPeakFlowResponse>
<PeakFlow>8.36</PeakFlow>
<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>
</DescribeDdosPeakFlowResponse>
JSON
格式
{
"RequestId":"C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E",
"PeakFlow":"8.36"
}
在文档使用中是否遇到以下问题
更多建议
匿名提交