You need to enable JavaScript to run this app.
边缘计算节点

边缘计算节点

复制全文
路由表
获取路由表关联的子网
复制全文
获取路由表关联的子网

本接口用于获取路由表关联的子网的列表。

请求说明

  • 请求方式:POST
  • 请求地址:https://veenedge.volcengineapi.com/?Action=ListRouteTableAssociatedSubnets&Version=2021-04-30

请求参数

下表列出了接口特定的请求参数以及公共请求参数 Action 和 Version。 其他公共参数,请参见公共参数

Query

参数
类型
是否必选
示例值
描述
Action
String
ListRouteTableAssociatedSubnets
接口名称。当前 API 的名称为 ListRouteTableAssociatedSubnets
Version
String
2021-04-30
接口版本。当前 API 的版本为 2021-04-30

Body

参数
类型
是否必选
示例值
描述
route_table_identity
String
route-table-x66rf6****
路由表的 ID。
pagination
Object
-
分页查询配置。

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结果

参数
类型
示例值
描述
subnet_instances
Object[]
-
子网的信息。
count
Integer
2
子网的数量。

请求示例

POST https://veenedge.volcengineapi.com/?Action=ListRouteTableAssociatedSubnets&Version=2021-04-30
&<其他公共参数>
{
    "route_table_identity": "route-table-6b4hvr****",
    "fuzzy_name": "Sub",
    "fuzzy_cidr_ip": "172.16.1.0"
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "202403191119438821827AE5FCEA83****",
        "Action": "ListRouteTableAssociatedSubnets",
        "Version": "2021-04-30",
        "Service": "veenedge",
        "Region": "cn-north-1"
    },
    "Result": {
        "subnet_instances": [
            {
                "account_identity": 210006****,
                "user_identity": 0,
                "subnet_identity": "subnet-sl7jpnt69t****",
                "cidr_ip": "172.16.1.0",
                "cidr_mask": 24,
                "name": "SubNet01",
                "desc": "",
                "status": "available",
                "create_time": 1710417509,
                "update_time": 1710417510
            },
            {
                "account_identity": 210006****,
                "user_identity": 0,
                "subnet_identity": "subnet-2hjczm2ll****",
                "cidr_ip": "172.16.2.0",
                "cidr_mask": 24,
                "name": "SubNet02",
                "desc": "",
                "status": "available",
                "create_time": 1710417941,
                "update_time": 1710417941
            }
        ],
        "count": 2
    }
}

错误码

如果响应正文中包含 Error 字段,则表示 API 请求失败。关于错误码的更多信息,参见错误码

最近更新时间:2026.01.07 16:45:01
这个页面对您有帮助吗?
有用
有用
无用
无用