获取 VPC 列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

GET /pop/v5/vpc_list HTTPS|HTTP

请求参数

返回数据

名称 类型 示例值 描述
Code Integer 200

code 码

Message String success

信息

RequestId String b197-40ab-9155-7ca7
VpcList Array

列表中具体信息见 VpcEntity 表

VpcId String vpc-wz9pcq3jofczwpujqye71

VPC 唯一标识

VpcName String edas-default-vpc4

VPC 名字

RegionId String cn-shenzhen

所在地域

UserId String edas_common_test@aliyun-inner.com

用户 ID

Expired Boolean false

是否存活

EcsNum Integer 0

关联 ECS 数量

示例

请求示例

GET /pop/v5/vpc_list HTTP/1.1
公共请求头

正常返回示例

JSON 格式

{
	"Message": "success",
	"VpcList": {
		"VpcEntity": [
			{
				"VpcName": "public_auto_test_vpc_",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 2,
				"VpcId": "vpc-wz90fbqjyyvxznxpyx7qb"
			},
			{
				"VpcName": "edas-default-vpc2",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 8,
				"VpcId": "vpc-wz90iikh8t4kdlwlj6jt2"
			},
			{
				"VpcName": "public_auto_test_vpc_",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 2,
				"VpcId": "vpc-wz910pp7b33tmy4y014qy"
			},
			{
				"VpcName": "alimesh3",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 0,
				"VpcId": "vpc-wz91do2184yyw164tngtn"
			},
			{
				"VpcName": "edas-default-vpc",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 0,
				"VpcId": "vpc-wz921yjkaw7eyqsmvpyrt"
			},
			{
				"VpcName": "webplus-vpc",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 0,
				"VpcId": "vpc-wz92ljz4jy87diazocpu7"
			},
			{
				"VpcName": "public_auto_test_vpc_",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 2,
				"VpcId": "vpc-wz93cgcb1w4jwn8tgj12q"
			},
			{
				"VpcName": "yijia-保留手工-深圳region-自建",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 6,
				"VpcId": "vpc-wz93wy5iom80wedzhcoj7"
			},
			{
				"VpcName": "public_auto_test_vpc_",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 2,
				"VpcId": "vpc-wz948hr45wmqv9swxhxq8"
			},
			{
				"VpcName": "public_auto_test_vpc_",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 2,
				"VpcId": "vpc-wz94mh9vc3vwapr3ksmya"
			},
			{
				"VpcName": "edas-default-vpc5",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 0,
				"VpcId": "vpc-wz953bud4ncakoqbmloxa"
			},
			{
				"VpcName": "alimesh-k8s1",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 6,
				"VpcId": "vpc-wz95vagj0t51fuhfhjfju"
			},
			{
				"VpcName": "vpc-k8s-for-cs-cadb635d093c146f1b35e53b198ba2e4f",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 12,
				"VpcId": "vpc-wz96gcyvp2noio4b5j47t"
			},
			{
				"VpcName": "yijia-保留手工-深圳region",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 8,
				"VpcId": "vpc-wz981nqmxk690vleyg2b9"
			},
			{
				"VpcName": "doc-vpc",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 6,
				"VpcId": "vpc-wz99i6p6wpodo1dtrrtd4"
			},
			{
				"VpcName": "alimesh-k8s2",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 0,
				"VpcId": "vpc-wz99p68wf74ojry66lupb"
			},
			{
				"VpcName": "public_auto_test_vpc_",
				"Expired": false,
				"RegionId": "cn-shenzhen",
				"UserId": "edas_common_test@aliyun-inner.com",
				"EcsNum": 0,
				"VpcId": "vpc-wz9y3glsdbs14uck3b3oz"
			}
		]
	},
	"Code": 200
}

XML 格式

<Message>success</Message>
<VpcList>
    <VpcEntity>
        <VpcName>public_auto_test_vpc_</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>2</EcsNum>
        <VpcId>vpc-wz90fbqjyyvxznxpyx7qb</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>edas-default-vpc2</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>8</EcsNum>
        <VpcId>vpc-wz90iikh8t4kdlwlj6jt2</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>public_auto_test_vpc_</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>2</EcsNum>
        <VpcId>vpc-wz910pp7b33tmy4y014qy</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>alimesh3</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>0</EcsNum>
        <VpcId>vpc-wz91do2184yyw164tngtn</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>edas-default-vpc</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>0</EcsNum>
        <VpcId>vpc-wz921yjkaw7eyqsmvpyrt</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>webplus-vpc</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>0</EcsNum>
        <VpcId>vpc-wz92ljz4jy87diazocpu7</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>public_auto_test_vpc_</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>2</EcsNum>
        <VpcId>vpc-wz93cgcb1w4jwn8tgj12q</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>yijia-保留手工-深圳region-自建</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>6</EcsNum>
        <VpcId>vpc-wz93wy5iom80wedzhcoj7</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>public_auto_test_vpc_</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>2</EcsNum>
        <VpcId>vpc-wz948hr45wmqv9swxhxq8</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>public_auto_test_vpc_</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>2</EcsNum>
        <VpcId>vpc-wz94mh9vc3vwapr3ksmya</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>edas-default-vpc5</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>0</EcsNum>
        <VpcId>vpc-wz953bud4ncakoqbmloxa</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>alimesh-k8s1</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>6</EcsNum>
        <VpcId>vpc-wz95vagj0t51fuhfhjfju</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>vpc-k8s-for-cs-cadb635d093c146f1b35e53b198ba2e4f</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>12</EcsNum>
        <VpcId>vpc-wz96gcyvp2noio4b5j47t</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>yijia-保留手工-深圳region</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>8</EcsNum>
        <VpcId>vpc-wz981nqmxk690vleyg2b9</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>doc-vpc</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>6</EcsNum>
        <VpcId>vpc-wz99i6p6wpodo1dtrrtd4</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>alimesh-k8s2</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>0</EcsNum>
        <VpcId>vpc-wz99p68wf74ojry66lupb</VpcId>
    </VpcEntity>
    <VpcEntity>
        <VpcName>public_auto_test_vpc_</VpcName>
        <Expired>false</Expired>
        <RegionId>cn-shenzhen</RegionId>
        <UserId>edas_common_test@aliyun-inner.com</UserId>
        <EcsNum>0</EcsNum>
        <VpcId>vpc-wz9y3glsdbs14uck3b3oz</VpcId>
    </VpcEntity>
</VpcList>
<Code>200</Code>

错误码

访问错误中心查看更多错误码。