查询IP防护状态

1. 接口描述

调用 DescribeIpProtectStatus 接口查询查询IP防护状态。

2. 请求参数

名称 类型 是否必选 描述
Action String 固定取值:DescribeIpProtectStatus
IpAddress String IP地址

3. 返回数据

名称 类型 说明
Data IpProtectInfo IP防护信息
RequestId String 请求ID

4. 示例

请求示例

http://ecs.kpy.cloud/?
AccessKeyId=sz0000ei53aw
&Action=DescribeIpProtectStatus
&Format=JSON
&IpAddress=20.32.2.18
&SignatureMethod=HMAC-SHA1
&SignatureNonce=e1d7216e-be24-487a-b538-ab227fcbbd5d
&SignatureVersion=1.0
&Timestamp=2025-02-12T09%3A34%3A57Z
&Version=2014-05-26
&Signature=uUKzUGPNV6PBoOYX%2FZyGdxjwDJo%3D

正常返回示例

{
  "RequestId": "a14346d0-e924-11ef-8c52-56c71f24e277",
  "Data": {
    "BlackHoleTime": "2025-02-12T09:34:56Z",
    "AntiStatus": "BLACK_HOLE",
    "TotalIncomingTraffic": 3398798.0,
    "IpAddress": "20.32.2.18",
    "TotalIncomingPps": 2866
  }
}

5. 错误码

错误码 错误信息
AvailableIpNotFound 可用的IP未找到
NoOperationAuthority 无操作权限
DescribeIpProtectStatusFail 查询IP防护状态失败:xxx
kaopuyun all right reserved,powered by GitbookUpdated Time: 2025-05-22 03:20:52

results matching ""

    No results matching ""