智能边缘云 IEC-查询子网列表:响应示例

时间:2024-01-02 15:48:17

响应示例

状态码: 200

OK

{
  "subnets" : [ {
    "id" : "99d9d709-8478-4b46-9f3f-2206b1023fd3",
    "name" : "dc1_subnet_001",
    "cidr" : "172.168.1.0/24",
    "dnsList" : [ "10.2.3.21", "10.32.54.2" ],
    "gateway_ip" : "172.168.1.1",
    "dhcp_enable" : true,
    "primary_dns" : null,
    "secondary_dns" : null,
    "status" : "ACTIVE",
    "vpc_id" : "4a532e51-0649-41b1-b120-49c60c6b0638",
    "site_id" : "e3b52316-05be-11ea-bc35-286ed488d287",
    "site_info" : "中国/华中地区/湖北/武汉市",
    "neutron_network_id" : "e3b52316-05be-11ea-bc35-286ed488d287",
    "neutron_subnet_id" : "e3b52316-05be-11ea-bc35-286ed488d287"
  } ],
  "count" : 1
}
support.huaweicloud.com/api-iec/ListSubnets.html