虚拟私有云 VPC-查询VPC列表:响应示例

时间:2025-02-12 15:01:44

响应示例

状态码: 200

GET操作正常返回,更多状态码请参见状态码

{  "request_id" : "9c1838ba498249547be43dd618b58d27",  "vpcs" : [ {    "id" : "01da5a65-0bb9-4638-8ab7-74c64e24a9a7",    "name" : "API-PERF-TEST-14bd44c121",    "description" : "",    "cidr" : "192.168.0.0/16",    "extend_cidrs" : [ ],    "status" : "ACTIVE",    "project_id" : "087679f0aa80d32a2f4ec0172f5e902b",    "enterprise_project_id" : "0",    "tags" : [ ],    "created_at" : "2020-06-16T02:32:18Z",    "updated_at" : "2020-06-16T02:32:18Z",    "cloud_resources" : [ {      "resource_type" : "routetable",      "resource_count" : 1    }, {      "resource_type" : "virsubnet",      "resource_count" : 0    } ]  }, {    "id" : "43fd79b0-f7d7-4e9b-828b-2d4d7bfae428",    "name" : "API-PERF-TEST_m2n33",    "description" : "",    "cidr" : "192.168.0.0/16",    "extend_cidrs" : [ ],    "status" : "ACTIVE",    "project_id" : "087679f0aa80d32a2f4ec0172f5e902b",    "enterprise_project_id" : "0",    "tags" : [ ],    "created_at" : "2020-06-15T06:29:40Z",    "updated_at" : "2020-06-15T06:29:41Z",    "cloud_resources" : [ {      "resource_type" : "routetable",      "resource_count" : 1    }, {      "resource_type" : "virsubnet",      "resource_count" : 1    } ]  }, {    "id" : "5ed053ba-b46c-4dce-a1ae-e9d8a7015f21",    "name" : "API-PERF-TEST-c34b1c4b12",    "description" : "",    "cidr" : "192.168.0.0/16",    "extend_cidrs" : [ ],    "status" : "ACTIVE",    "project_id" : "087679f0aa80d32a2f4ec0172f5e902b",    "enterprise_project_id" : "0",    "tags" : [ ],    "created_at" : "2020-06-16T02:32:33Z",    "updated_at" : "2020-06-16T02:32:33Z",    "cloud_resources" : [ {      "resource_type" : "routetable",      "resource_count" : 1    }, {      "resource_type" : "virsubnet",      "resource_count" : 0    } ]  } ],  "page_info" : {    "previous_marker" : "01da5a65-0bb9-4638-8ab7-74c64e24a9a7",    "current_count" : 3  }}
support.huaweicloud.com/api-vpc/vpc_apiv3_0003.html