You need to enable JavaScript to run this app.
导航

ListAllIpGroup-查询地址组详情

最近更新时间2024.03.01 16:47:38

首次发布时间2024.02.01 14:25:20

根据地址组 ID 查询某个指定地址组下的 IP 详情。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com/?Action=ListAllIpGroup&Version=2023-12-25

请求参数

参数

类型

是否必填

示例值

描述

Page

Integer

1

查询页码,默认为 1。

PageSize

Integer

20

单页条数,默认为 10。范围为 1~100。

IpGroupId

Integer

1523

地址组 ID。地址组 ID 获取方式,可参考ListAllIpGroups-查询所有地址组

Ip

String

1.2.3.4

查询的地址或地址段。

返回参数

参数

类型

示例值

描述

IpList

Array of Strings

["1.1.1.1","1.1.1.2"]

该地址组下的 IP 详情。

Count

Integer

5

当前页面显示的地址组数量。

CurrentPage

Integer

1

当前页面的页码。

PageSize

Integer

10

单个页面显示的地址组数量上限。

TotalCount

Integer

15

查询到的符合条件的地址组总数。

请求示例

POST https://open.volcengineapi.com/?Action=ListAllIpGroup&Version=2023-12-25
X-Date: 20230711T035055Z
Authorization: HMAC-SHA256 Credential=AKLTNGU0OGEyMT***/20230711/cn-beijing/waf/request, SignedHeaders=content-type;x-content-sha256;x-date, Signature=da4fac562d00f41ad8***

{
    "Page":1,
    "PageSize":20,  
    "IpGroupId":1529
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "20240130212419A25B8B1A283C5B5B****",
        "Action": "ListAllIpGroup",
        "Version": "2020-12-09",
        "Service": "waf",
        "Region": "cn-beijing"
    },
      "Result": {
        "IpList": [
            "1.1.1.1",
            "1.1.1.2"
        ],
        "PageSize": 20,
        "Count": 1,
        "CurrentPage": 1,
        "TotalCount": 1
    }
}