接口说明
面向政企版租户开放查询VPC列表接口 限流:根据租户实现用户级别的限流,限制为10次每秒
URL
POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/ecloud-vpc/getVpc
请求参数
Body
|
参数名称
|
类型
|
必填
|
描述
|
|
reqDto
|
CcempVpcListReqDto
|
是
|
reqDto |
|
currentPage
|
integer(int32)
|
否
|
当前页 |
|
pageSize
|
integer(int32)
|
否
|
每页显示条数 |
|
poolName
|
string
|
否
|
CMDB可用区名称 |
|
start
|
integer(int32)
|
否
|
当前页起始下标 |
|
status
|
string
|
否
|
vpc状态 |
|
vpcName
|
string
|
否
|
vpc名称 |
|
vpcUid
|
string
|
否
|
vpcid |
请求示例
POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/ecloud-vpc/getVpc
{
"vpcUid":"vpc-d79be7e38e644eb994dc2d7d1e8e4b69",
"currentPage":1,
"pageSize":10
}
返回参数
返回码:200
OK
|
参数名称
|
类型
|
描述
|
|
body
|
PageReturnEntity«BaseCloudVpcRespDto»
|
|
|
data
|
<BaseCloudVpcRespDto> array
|
数据 |
|
companyCode
|
string
|
厂商 |
|
companyName
|
string
|
厂商名称 |
|
companyTag
|
string
|
企业id |
|
createdTime
|
string
|
创建时间 |
|
description
|
string
|
vpc描述 |
|
ecloudPoolCode
|
string
|
|
|
ecloudPoolName
|
string
|
|
|
ecloudRegionCode
|
string
|
|
|
ecloudRegionName
|
string
|
|
|
mopUserId
|
string
|
租户id |
|
natGatewayName
|
string
|
关联nat网关名称 |
|
natUid
|
string
|
NAT网关uid |
|
poolCode
|
string
|
CMDB可用区 |
|
poolName
|
string
|
CMDB可用区名称 |
|
requestSource
|
string
|
vpc来源 |
|
specs
|
string
|
vpc规格 |
|
status
|
string
|
vpc状态 |
|
subnetSize
|
integer(int32)
|
子网个数 |
|
tenantId
|
string
|
租户主键id |
|
tenantName
|
string
|
租户名称 |
|
vpcName
|
string
|
vpc名称 |
|
vpcUid
|
string
|
vpcid |
|
totalCount
|
integer(int32)
|
总行数 |
|
errorCode
|
string
|
|
|
errorMessage
|
string
|
|
|
requestId
|
string
|
|
|
state
|
enum(OK,ERROR,EXCEPTION,FORBIDDEN,REMAINING,TIMEOUT)
|
返回示例
返回码:200
OK
{
"body":{
"data":[
{
"tenantName":"zhangsan",
"tenantId":"1812731550516035586",
"mopUserId":"CIDC-U-xxxxxxxx",
"companyTag":"qdd05f",
"vpcName":"VPC_L2pl",
"vpcUid":"vpc-d79be7e38e644eb994dc2d7d1e8e4b69",
"specs":"high",
"status":"createError",
"poolCode":"CIDC-RP-25-AZ2",
"poolName":"可用区二",
"companyCode":"CMSSZTE",
"companyName":"移动云",
"subnetSize":2,
"createdTime":"2025-09-01 15:27:55",
"requestSource":"ccemp",
"description":"VPC_L2pl",
"natUid":null,
"natGatewayName":null,
"ecloudPoolCode":"CIDC-RP-25",
"ecloudPoolName":"华东-苏州",
"ecloudRegionCode":"CIDC-RP-25-AZ2",
"ecloudRegionName":"可用区二",
"realPoolCode":"CIDC-RP-25",
"realPoolName":"华东-苏州"
}
],
"totalCount":"1"
},
"errorCode":"",
"errorMessage":"",
"requestId":"",
"state":""
}