You need to enable JavaScript to run this app.
文档中心
云企业网

云企业网

复制全文
下载 pdf
网络实例
DescribeCenAttachedInstances - 查询网络实例列表
复制全文
下载 pdf
DescribeCenAttachedInstances - 查询网络实例列表
调用 DescribeCenAttachedInstances 接口,查询满足指定条件的网络实例。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:DescribeCenAttachedInstances​
要执行的操作,取值:DescribeCenAttachedInstances。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
InstanceType string 可选 示例值:VPC​
网络实例的类型,取值如下:​
  • VPC:私有网络​
  • DCGW:专线网关​
​
InstanceRegionId string 可选 示例值:cn-beijing​
网络实例所属Region。​
​
PageNumber integer 可选 示例值:1​
列表的页码。默认值为1。​
​
PageSize integer 可选 示例值:20​
分页查询时每页的行数。取值范围为1~100,默认值为20。​
​
InstanceId string 可选 示例值:vpc-2fexiqjlgjif45oxruvso****​
网络实例的ID。​
  • 您可以调用DescribeVpcs接口,查询“VPC”类型网络实例的ID。​
​
CenId string 可选 示例值:cen-7qthudw0ll6jmc****​
CEN的ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
TotalCount integer 示例值:10​
满足指定条件的网络实例总数。​
​
PageNumber integer 示例值:1​
当前页码。​
​
PageSize integer 示例值:20​
当前分页的行数。​
​
AttachedInstances object[] 示例值:-​
网络实例的详细信息。​
InstanceType string 示例值:VPC​
网络实例的类型。​
​
InstanceRegionId string 示例值:cn-beijing​
网络实例所在的地域。​
​
Status string 示例值:Available​
网络实例的加载状态。​
  • Attaching:加载中​
  • Available:可用​
​
CreationTime string 示例值:2021-01-28T14:55:11+08:00​
网络实例的创建时间。​
​
CenId string 示例值:cen-7qthudw0ll6jmc****​
云企业网实例的ID。​
​
InstanceId string 示例值:vpc-2fexiqjlgjif45oxruvso****​
网络实例的ID。​
​
InstanceOwnerId string 示例值:210000****​
网络实例所属账号的ID。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeCenAttachedInstances&Version=2020-04-01 HTTP/1.1​
Host: cen.volcengineapi.com​
X-Date: 20260109T084147Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260109/cn-beijing/cen/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20250815165535000237144252168618",​
"Action": "DescribeCenAttachedInstances",​
"Version": "2020-04-01",​
"Service": "cen",​
"Region": "cn-beijing"​
},​
"Result": {​
"TotalCount": 10,​
"PageNumber": 1,​
"PageSize": 20,​
"AttachedInstances": [​
{​
"InstanceType": "VPC",​
"InstanceRegionId": "cn-beijing",​
"Status": "Available",​
"CreationTime": "2021-01-28T14:55:11+08:00",​
"CenId": "cen-7qthudw0ll6jmc****",​
"InstanceId": "vpc-2fexiqjlgjif45oxruvso****",​
"InstanceOwnerId": "210000****"​
}​
]​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request.​
该请求缺少必要参数。请确保您发起请求时已传入全部必要参数。​
400​
InvalidParameter​
A parameter specified in the request is not valid, is unsupported or cannot be used.​
该请求传入了非法或不支持的参数。​
400​
InvalidPage.Malformed​
The specified page is malformed.​
指定的分页参数不合法。​
500​
InternalError​
Request failed with internal server error.​
系统内部错误。​
​
​
最近更新时间:2026.01.15 11:22:02
这个页面对您有帮助吗?
有用
有用
无用
无用